Email Domains

Get DNS records for an email domain

Changed on
get/email-domains/{id}/dns-records

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

Domain ID

Response

DNS records for the domain

namestring required

DNS record name (host)

priorityinteger nullable

Priority (for MX records)

record_typestring required

Record type: TXT, CNAME, MX

status'unknown' | 'verified' | 'pending' | 'failed' required

Verification status: unknown, verified, pending, failed

valuestring required

DNS record value

Example response

[
  {
    "name": "temps._domainkey.example.com",
    "record_type": "TXT",
    "value": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3..."
  }
]

Changes