Email Domains

Get DNS records for an email domain

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)
  • URL: /api/email-domains/{id}/dns-records
  • 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

DNS record verification status

valuestring required

DNS record value

Example response

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

Changes

No recorded changes to this operation across all 50 revisions of this API.