Skip to content
dimmiDocs

Email

Start automatic DNS setup

POST/api/v1/email-domains/{domain}/dns-setups

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Path parameters

domainstringrequired

Id of the sending email domain, starting with edm_, such as edm_01jx2m8k4t. Find it with GET /email-domains.

Response 201

Created
dataobjectrequired
Show child attributes
apply_urlstring

The link to open at the DNS host to approve adding the records. Present only once someone asked for the setup.

host_namestringrequired

The name of the DNS host that can add the records itself.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.