SautiDesk
SautiDesk API
Channels and templates

Switch templates on or off for a channel

POST
/v1/desk/templates/active

Switches templates on or off for a whole channel at once. Send the channel and whether it is active.

Requires: desk.admin scope, workspace owner or admin.

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

application/json

Response

OK

Example

{  "changed": 1}
FieldTypeDescription
changedrequiredinteger
curl -X POST "https://api.sautidesk.com/v1/desk/templates/active" \  -H "Content-Type: application/json" \  -d '{    "channel": "sms",    "active": false  }'