Skip to main content
GET
/
library
/
files
List files
curl --request GET \
  --url https://api.closebot.com/library/files \
  --header 'X-CB-KEY: <api-key>'
[
  {
    "fileId": "<string>",
    "fileName": "<string>",
    "lastModified": "2023-11-07T05:31:56Z",
    "fileType": "<string>",
    "fileStatus": "<string>",
    "fileSize": 123,
    "estimatedFileSize": 123,
    "sources": [
      {
        "id": "<string>",
        "name": "<string>",
        "category": "<string>"
      }
    ],
    "accountId": "<string>",
    "uri": "<string>"
  }
]

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Response

Success

fileId
string | null
fileName
string | null
lastModified
string<date-time>
fileType
string | null
fileStatus
string | null
fileSize
integer<int64>
estimatedFileSize
integer<int64>
sources
object[] | null
accountId
string | null
uri
string | null