SautiDesk
SautiDesk API
Activities

Get an email's HTML body

GET
/v1/desk/activities/{id}/html

Returns the sanitised HTML body of an email activity, with scripts and tracking content removed. Use it to render an email as the sender wrote it.

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 activity's id (a UUID).

Response

OK

Example

{  "html": "example",  "policy_version": 1}
FieldTypeDescription
htmlrequiredstring
policy_versionrequiredinteger
curl -X GET "https://api.sautidesk.com/v1/desk/activities/string/html"