v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-02172186551.1 KB
Email Domains

Add an email domain

Add a domain to send email from. Returns the DNS records to publish (DKIM CNAMEs are required; SPF, DMARC, and MAIL FROM are recommended). Publish them at your DNS provider, then verify.

post/v1/email-domains

Request body

domainstring required

Bare domain, e.g. example.com.

Example request

{
  "domain": "example.com"
}

Response

Domain added.

Example response

{
  "domain": {
    "id": "emd_abc123",
    "domain": "example.com",
    "status": "pending",
    "dkimStatus": "not_started",
    "dnsRecords": [
      {
        "type": "CNAME"
      }
    ]
  }
}