Skip to main content
POST
/
library
/
files
Upload a file
curl --request POST \
  --url https://api.closebot.com/library/files \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-CB-KEY: <api-key>' \
  --form file='@example-file'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Body

multipart/form-data
file
file

Response

200

Success