SautiDesk
SautiDesk API
Direct messages, notifications and live events

Download a direct-message attachment

GET
/v1/desk/dm/threads/{id}/messages/{mid}/attachments/{uid}

Downloads a file that was sent in a direct message. Only the two people in the thread can download it.

Requires: desk.read scope.

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

Path Parameters

id*string

The thread's id (a UUID).

mid*string

The message's id (a UUID).

uid*string

The attachment's id (a UUID).

Response

OK

The body is empty.

curl -X GET "https://api.sautidesk.com/v1/desk/dm/threads/string/messages/string/attachments/string"