Email

Get a sending domain

Returns one sending domain with its DNS records and the current state of each check.

GET
/mail/domains/{id}

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

Id of the sending domain.

Response

application/json

Success

idstringrequired
namestringrequired

The domain name, like example.com.

stateenum<string>required

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

recordsobject[]required

DNS records to publish at the domain's DNS host.

checksobject[]required

State of each DNS check Bavimail runs on the domain.

problemstring | nullrequired

What went wrong in the domain's setup, from Bavimail; null when nothing did.

automatic_setup_urlstring | nullrequired

Link that publishes the records at the domain's DNS host in one step; null when the DNS host does not support it.

trackingobject | nullrequired

The tracking domain used for open and click tracking; null when none is added.

created_atstringrequired

When the domain was added, as an ISO 8601 timestamp.