Add a domain
POST
Register a custom sending domain. Sets up DKIM signing and a custom MAIL FROM subdomain, then returns the domain plus the exact DNS records to publish (3 DKIM CNAME, 1 MX, and SPF and DMARC TXT records; tracking is off at creation). Requires the send scope.
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
namestringrequiredThe domain to add (lowercased; must be a valid DNS hostname with at least one dot).
mail_from_prefixstringMAIL FROM subdomain label. Defaults to send.
Response
application/json
The domain was created.
