SautiDesk
SautiDesk API
Channels and templates

Get email domain DNS records

GET
/v1/desk/mail/domains/{id}/setup

Returns the DNS records to add at the domain host so SautiDesk can send and receive email for the domain.

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

Path Parameters

id*string

The domain's id (a UUID).

Response

OK

Example

{  "provider": "twilio",  "supported": false,  "url": "https://example.com/file",  "reason": "Outside business hours",  "dns_host": "mail.support.example.com",  "zone": "Africa/Nairobi",  "dns_url": "https://example.com/file"}
FieldTypeDescription
providerrequiredstring
supportedrequiredboolean
urlstring
reasonstringWhy, in a few words, for example Lunch.
dns_hostrequiredstring
zonerequiredstring
dns_urlstring
curl -X GET "https://api.sautidesk.com/v1/desk/mail/domains/string/setup"