cURL
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 '{}'
Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Attachment ID
The body is of type object.
object
The document has been linked successfully