Skip to main content
GET
/
domains
/
{domainId}
curl --request GET \
  --url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111 \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "60d5ec49f1b2c72d9c8b1111",
    "domainName": "example.com",
    "verificationStatus": "VERIFIED",
    "ownershipVerified": true,
    "dkimEnabled": true,
    "mailFromEnabled": true,
    "dmarcEnabled": true,
    "dnsRecords": {
      "ownership": {
        "name": "_autosend-verify.example.com",
        "value": "autosend-verify-cfdbf714dbec4584b82b925bfff91770",
        "type": "TXT",
        "purpose": "Domain ownership verification"
      },
      "dkim": {
        "name": "autosend._domainkey.example.com",
        "value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ...",
        "type": "TXT",
        "purpose": "DKIM authentication"
      },
      "mailFrom": [
        {
          "name": "mail.example.com",
          "value": "feedback-smtp.us-east-1.amazonses.com",
          "type": "MX",
          "purpose": "Mail-from domain",
          "priority": 10
        },
        {
          "name": "mail.example.com",
          "value": "v=spf1 include:amazonses.com ~all",
          "type": "TXT",
          "purpose": "SPF record for mail-from domain"
        }
      ],
      "dmarc": {
        "name": "_dmarc.example.com",
        "value": "v=DMARC1; p=none;",
        "type": "TXT",
        "purpose": "DMARC policy"
      }
    },
    "createdAt": "2026-01-05T10:00:00.000Z",
    "lastCheckedAt": "2026-03-10T14:20:00.000Z",
    "verifiedAt": "2026-01-05T12:00:00.000Z",
    "regionKey": "us-east-1",
    "verificationInProgress": false
  }
}
curl --request GET \
  --url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111 \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "60d5ec49f1b2c72d9c8b1111",
    "domainName": "example.com",
    "verificationStatus": "VERIFIED",
    "ownershipVerified": true,
    "dkimEnabled": true,
    "mailFromEnabled": true,
    "dmarcEnabled": true,
    "dnsRecords": {
      "ownership": {
        "name": "_autosend-verify.example.com",
        "value": "autosend-verify-cfdbf714dbec4584b82b925bfff91770",
        "type": "TXT",
        "purpose": "Domain ownership verification"
      },
      "dkim": {
        "name": "autosend._domainkey.example.com",
        "value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ...",
        "type": "TXT",
        "purpose": "DKIM authentication"
      },
      "mailFrom": [
        {
          "name": "mail.example.com",
          "value": "feedback-smtp.us-east-1.amazonses.com",
          "type": "MX",
          "purpose": "Mail-from domain",
          "priority": 10
        },
        {
          "name": "mail.example.com",
          "value": "v=spf1 include:amazonses.com ~all",
          "type": "TXT",
          "purpose": "SPF record for mail-from domain"
        }
      ],
      "dmarc": {
        "name": "_dmarc.example.com",
        "value": "v=DMARC1; p=none;",
        "type": "TXT",
        "purpose": "DMARC policy"
      }
    },
    "createdAt": "2026-01-05T10:00:00.000Z",
    "lastCheckedAt": "2026-03-10T14:20:00.000Z",
    "verifiedAt": "2026-01-05T12:00:00.000Z",
    "regionKey": "us-east-1",
    "verificationInProgress": false
  }
}

Authorizations

Authorization
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Path Parameters

domainId
string
required
The id of the domain to retrieve.

Response

success
boolean
Indicates whether the request was successful.
data
object
The requested domain object.

Errors

404
object
Returned when no domain with the given domainId exists in the project.

Authorizations

Authorization
string
header
required

API key issued from the Autosend dashboard. Pass as Authorization: Bearer <token>.

Path Parameters

domainId
string
required

The id of the domain.

Pattern: ^[a-f\d]{24}$
Example:

"60d5ec49f1b2c72d9c8b1111"

Response

The requested domain.

success
boolean
Example:

true

data
object