Channels and templates
Download an email attachment
Downloads a file attached to an email on a ticket. Set inline to 1 to serve it for display in a page instead of as a download.
Requires: desk.read 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
Path Parameters
id*string
The attachment's id (a UUID).
Query Parameters
inline?string
1 to serve the file for display in the page. Leave it out for a download.
Response
OK
The body is empty.
curl -X GET "https://api.sautidesk.com/v1/desk/mail/attachments/string"