Domains
List Domains
List all sending domains configured in your account using the AutoSend API.
GET
/
domains
curl --request GET \
--url https://api.autosend.com/v1/domains \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"domains": [
{
"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
},
{
"id": "60d5ec49f1b2c72d9c8b2222",
"domainName": "mail.example.com",
"verificationStatus": "PENDING_CONFIGURATION",
"ownershipVerified": false,
"dkimEnabled": false,
"mailFromEnabled": false,
"dmarcEnabled": false,
"dnsRecords": {
"ownership": {
"name": "_autosend-verify.mail.example.com",
"value": "autosend-verify-785f80bdecf44a94ad9ac28eac1a6c07",
"type": "TXT",
"purpose": "Domain ownership verification"
},
"dkim": {
"name": "autosend._domainkey.mail.example.com",
"value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ...",
"type": "TXT",
"purpose": "DKIM authentication"
},
"mailFrom": [
{
"name": "mail.mail.example.com",
"value": "feedback-smtp.us-east-1.amazonses.com",
"type": "MX",
"purpose": "Mail-from domain",
"priority": 10
},
{
"name": "mail.mail.example.com",
"value": "v=spf1 include:amazonses.com ~all",
"type": "TXT",
"purpose": "SPF record for mail-from domain"
}
],
"dmarc": {
"name": "_dmarc.mail.example.com",
"value": "v=DMARC1; p=none;",
"type": "TXT",
"purpose": "DMARC policy"
}
},
"createdAt": "2026-03-01T09:00:00.000Z",
"lastCheckedAt": "2026-03-19T08:45:00.000Z",
"regionKey": "us-east-1",
"verificationInProgress": false
}
]
}
}
curl --request GET \
--url https://api.autosend.com/v1/domains \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"domains": [
{
"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
},
{
"id": "60d5ec49f1b2c72d9c8b2222",
"domainName": "mail.example.com",
"verificationStatus": "PENDING_CONFIGURATION",
"ownershipVerified": false,
"dkimEnabled": false,
"mailFromEnabled": false,
"dmarcEnabled": false,
"dnsRecords": {
"ownership": {
"name": "_autosend-verify.mail.example.com",
"value": "autosend-verify-785f80bdecf44a94ad9ac28eac1a6c07",
"type": "TXT",
"purpose": "Domain ownership verification"
},
"dkim": {
"name": "autosend._domainkey.mail.example.com",
"value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ...",
"type": "TXT",
"purpose": "DKIM authentication"
},
"mailFrom": [
{
"name": "mail.mail.example.com",
"value": "feedback-smtp.us-east-1.amazonses.com",
"type": "MX",
"purpose": "Mail-from domain",
"priority": 10
},
{
"name": "mail.mail.example.com",
"value": "v=spf1 include:amazonses.com ~all",
"type": "TXT",
"purpose": "SPF record for mail-from domain"
}
],
"dmarc": {
"name": "_dmarc.mail.example.com",
"value": "v=DMARC1; p=none;",
"type": "TXT",
"purpose": "DMARC policy"
}
},
"createdAt": "2026-03-01T09:00:00.000Z",
"lastCheckedAt": "2026-03-19T08:45:00.000Z",
"regionKey": "us-east-1",
"verificationInProgress": false
}
]
}
}
Authorizations
Bearer authentication header of the form
Bearer <token>, where <token> is your API key.Response
Indicates whether the request was successful.
Response data object.
Show Data object
Show Data object
Array of domain objects for the project. Returns an empty array if no domains have been added.
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. Once
true, never reverts to false.Whether DKIM CNAME records have been verified. Once
true, never reverts to false.Whether the MAIL FROM MX/TXT records have been verified. Once
true, never reverts to false.Whether a DMARC TXT record has been detected. Once
true, never reverts to false.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.
ISO 8601 timestamp of when the domain was verified. Only present for verified domains.
The AutoSend region key where the domain is configured (e.g.
us-east-1).Whether a DNS verification check is currently in progress.
⌘I
curl --request GET \
--url https://api.autosend.com/v1/domains \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"domains": [
{
"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
},
{
"id": "60d5ec49f1b2c72d9c8b2222",
"domainName": "mail.example.com",
"verificationStatus": "PENDING_CONFIGURATION",
"ownershipVerified": false,
"dkimEnabled": false,
"mailFromEnabled": false,
"dmarcEnabled": false,
"dnsRecords": {
"ownership": {
"name": "_autosend-verify.mail.example.com",
"value": "autosend-verify-785f80bdecf44a94ad9ac28eac1a6c07",
"type": "TXT",
"purpose": "Domain ownership verification"
},
"dkim": {
"name": "autosend._domainkey.mail.example.com",
"value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQ...",
"type": "TXT",
"purpose": "DKIM authentication"
},
"mailFrom": [
{
"name": "mail.mail.example.com",
"value": "feedback-smtp.us-east-1.amazonses.com",
"type": "MX",
"purpose": "Mail-from domain",
"priority": 10
},
{
"name": "mail.mail.example.com",
"value": "v=spf1 include:amazonses.com ~all",
"type": "TXT",
"purpose": "SPF record for mail-from domain"
}
],
"dmarc": {
"name": "_dmarc.mail.example.com",
"value": "v=DMARC1; p=none;",
"type": "TXT",
"purpose": "DMARC policy"
}
},
"createdAt": "2026-03-01T09:00:00.000Z",
"lastCheckedAt": "2026-03-19T08:45:00.000Z",
"regionKey": "us-east-1",
"verificationInProgress": false
}
]
}
}