Email Domain DNS Records

List DNS records for an email domain

Changed on

Returns the DNS records Telnyx generated for domain ownership and DKIM verification, plus MX records when inbound delivery is enabled.

get/email_domains/{domain_id}/dns_records

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/email_domains/{domain_id}/dns_records
  • Auth: HTTP bearer

Path parameters

domain_idstring uuid required

Email domain UUID

Response

DNS records for the email domain

Example response

{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174001",
      "purpose": "ownership",
      "record_type": "TXT",
      "host": "_telnyx-email.example.com",
      "value": "telnyx-domain-verification=abc123",
      "actual_value": null,
      "priority": null,
      "required": true,
      "status": "pending"
    }
  ]
}

Changes

    • warning

      added the new 40901 enum value to the // response property for the response status

    • warning

      added the new 40901 enum value to the // response property for the response status

    • info

      endpoint added