Skip to main content
POST
/
api
/
attachments
/
{id}
/
link
Link attachment to a model
curl --request POST \
  --url https://api.example.com/api/attachments/{id}/link \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'organization-id: <organization-id>' \
  --data '{}'

Headers

Authorization
string
required

Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Path Parameters

id
string
required

Attachment ID

Body

application/json

The body is of type object.

Response

200

The document has been linked successfully