Skip to main content
POST
/
domains
/
{domainId}
/
verify
curl --request POST \
  --url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111/verify \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "domain": {
      "id": "60d5ec49f1b2c72d9c8b1111",
      "domainName": "example.com",
      "verificationStatus": "VERIFIED",
      "ownershipVerified": true,
      "dkimEnabled": true,
      "mailFromEnabled": false,
      "dmarcEnabled": false,
      "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-25T07:05:29.525Z",
      "regionKey": "us-east-1",
      "verificationInProgress": false
    },
    "verificationInProgress": true,
    "ownershipVerified": true,
    "verificationStatus": "VERIFIED",
    "dkimEnabled": true,
    "mailFromEnabled": false,
    "dmarcEnabled": false
  },
  "message": "Domain verification status updated"
}
curl --request POST \
  --url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111/verify \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "domain": {
      "id": "60d5ec49f1b2c72d9c8b1111",
      "domainName": "example.com",
      "verificationStatus": "VERIFIED",
      "ownershipVerified": true,
      "dkimEnabled": true,
      "mailFromEnabled": false,
      "dmarcEnabled": false,
      "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-25T07:05:29.525Z",
      "regionKey": "us-east-1",
      "verificationInProgress": false
    },
    "verificationInProgress": true,
    "ownershipVerified": true,
    "verificationStatus": "VERIFIED",
    "dkimEnabled": true,
    "mailFromEnabled": false,
    "dmarcEnabled": false
  },
  "message": "Domain verification status updated"
}

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 verify.

Response

success
boolean
Indicates whether the request was accepted.
message
string
Always "Domain verification status updated" on success.
data
object
Contains the full domain object and top-level verification status summary fields.

Errors

404
object
Returned when no domain with the given domainId exists in the project.
429
object
Returned when the verify endpoint has been called too many times in a short period. Wait before retrying.