Domains
Verify Domain
Trigger DNS verification for a sending domain to confirm ownership using the AutoSend API.
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
Bearer authentication header of the form
Bearer <token>, where <token> is your API key.Path Parameters
The id of the domain to verify.
Response
Indicates whether the request was accepted.
Always
"Domain verification status updated" on success.Contains the full domain object and top-level verification status summary fields.
Show Data object
Show Data object
The full domain object with updated verification state.
Show Domain object
Show Domain object
Unique identifier for the domain (id).
The domain name (e.g.
example.com).Overall domain verification status. One of
PENDING_CONFIGURATION, PENDING, or VERIFIED.Whether the TXT ownership record has been verified.
Whether DKIM CNAME records have been verified.
Whether the MAIL FROM MX/TXT records have been verified.
Whether a DMARC TXT record has been detected.
DNS records required for domain verification.
Show DNS Records object
Show DNS Records object
TXT record for domain ownership verification. Contains
name, value, type, and purpose fields.TXT record for DKIM authentication. Contains
name, value, type, and purpose fields.Array of MX and TXT records for the MAIL FROM domain. Each record contains
name, value, type, purpose, and optionally priority fields.TXT record for DMARC policy. Contains
name, value, type, and purpose fields.ISO 8601 timestamp of when the domain was added.
ISO 8601 timestamp of the last DNS verification check.
The AutoSend region key where the domain is configured (e.g.
us-east-1).Whether a DNS verification check is currently in progress for this domain.
Whether verification is currently in progress.
Whether the TXT ownership record has been verified.
Overall domain verification status. One of
PENDING_CONFIGURATION, PENDING, or VERIFIED.Whether DKIM CNAME records have been verified.
Whether the MAIL FROM MX/TXT records have been verified.
Whether a DMARC TXT record has been detected.
Errors
Returned when no domain with the given
domainId exists in the project.Returned when the verify endpoint has been called too many times in a short period. Wait before retrying.
⌘I
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"
}