Skip to main content
POST
/
library
/
files
/
{fileId}
/
source
/
{sourceId}
Attach a file to a source
curl --request POST \
  --url https://api.closebot.com/library/files/{fileId}/source/{sourceId} \
  --header 'X-CB-KEY: <api-key>'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

fileId
string
required

The ID of the file to attach.

sourceId
string
required

The ID of the source to attach the file to.

Response

200

Success