Skip to main content
POST
/
api
/
attachments
Upload attachment to S3
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'

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.

Body

multipart/form-data

Upload attachment

file
file
required

Response

The document has been uploaded successfully