Custom Domains

Use your own domain for sending and receiving email.

View as Markdown

Adding a Domain

POST /v0/domains
{
  "domain": "mail.example.com"
}

This registers the domain with Agentry for sending and receiving mail and returns DKIM tokens for DNS verification.

Verification

After adding DNS records, trigger verification:

POST /v0/domains/{domain_id}/verify

DNS Records

Get the required DNS records:

GET /v0/domains/{domain_id}/zone-file

You'll need to add 3 CNAME records for DKIM authentication.