Skip to main content
POST
/
attachments
/
upload
/
{token}
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/attachments/upload/{token} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"<string>"'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

token
string
required

Body

application/json

upload attachment

The body is of type file.

Response

201

Upload successful

Last modified on January 25, 2026