SautiDesk
SautiDesk API
Channels and templates

Upload an email attachment

POST
/v1/desk/mail/uploads

Uploads a file to attach to an email reply. Send the file here, then pass the returned id in upload_ids when you send the email.

Requires: desk.write scope, Converse licence.

Authorization

bearerAuth
AuthorizationBearer <token>

A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.

In: header

Request Body

multipart/form-data

Response

Created

Example

{  "id": "3f2b8c1e-5a4d-4e7b-9c10-2d6a8e4f1b37",  "filename": "invoice-1182.pdf",  "content_type": "application/pdf",  "size": 1}
FieldTypeDescription
idrequiredstring (uuid)
filenamerequiredstring
content_typerequiredstring
sizerequiredinteger
curl -X POST "https://api.sautidesk.com/v1/desk/mail/uploads" \  -F file="string"