cURL
curl --request POST \ --url https://api.example.com/api/attachments \ --header 'Authorization: <authorization>' \ --header 'Content-Type: multipart/form-data' \ --header 'organization-id: <organization-id>' \ --form file='@example-file'
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.
Upload attachment
The document has been uploaded successfully