🚀 Claude Opus 4.6 + 171 Models Launched! See our changelog for details.
Upload attachment
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>"'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
upload attachment
The body is of type file.
file
Upload successful
Was this page helpful?