Add a sending domain
Adds a domain the workspace controls to the connected Bavimail account and returns the DNS records to publish at its DNS host. Inboxes on it can send once its state is ready.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/jsonDomain name to send from, like example.com: up to 253 characters, lowercased.
Response
Success
The domain name, like example.com.
provisioning while Bavimail sets the domain up, awaiting_dns until every check passes, ready once inboxes on it can send, or failed (see problem).
Available options: provisioning, awaiting_dns, ready, failed
DNS records to publish at the domain's DNS host.
State of each DNS check Bavimail runs on the domain.
What went wrong in the domain's setup, from Bavimail; null when nothing did.
Link that publishes the records at the domain's DNS host in one step; null when the DNS host does not support it.
The tracking domain used for open and click tracking; null when none is added.
When the domain was added, as an ISO 8601 timestamp.