Domains
Custom sending domains (DKIM, SPF, MX).
- POST /domains — Add a domain
- GET /domains — List domains
- GET /domains/{id} — Retrieve a domain (with DNS records)
- POST /domains/{id}/verify — Verify a domain
post/domains— Add a domain
tracking_subdomain (a label, e.g. news) also makes <label>.<name> the custom subdomain of your newsletter (tracked links, preferences, archive) when the workspace has a single active newsletter; otherwise use POST /segments/{id}/domain. custom_return_path is not supported. Plans: Free and Starter none, Pro 5, Scale 15, Agency up to 200 per account (pending and failed domains count too). At the limit the call returns 403; existing domains keep working.
Keys: full_access
Body
| namerequired | string | |
| tracking_subdomain | string |
curl -X POST https://api.smartletter.ai/domains \
-H "Authorization: Bearer $SMARTLETTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"acme.com","tracking_subdomain":"news"}'Response 201
{
"object": "domain",
"id": "5b1f2c90-0000-4000-8000-000000000002",
"name": "acme.com",
"status": "not_started",
"review_status": "none",
"created_at": "2026-10-17T09:00:00.000Z",
"region": "eu-west-3",
"records": [
{
"record": "DKIM",
"name": "a1b2c3._domainkey",
"type": "CNAME",
"ttl": "Auto",
"status": "pending",
"value": "a1b2c3.dkim.amazonses.com"
},
{
"record": "DKIM",
"name": "d4e5f6._domainkey",
"type": "CNAME",
"ttl": "Auto",
"status": "pending",
"value": "d4e5f6.dkim.amazonses.com"
},
{
"record": "DKIM",
"name": "g7h8i9._domainkey",
"type": "CNAME",
"ttl": "Auto",
"status": "pending",
"value": "g7h8i9.dkim.amazonses.com"
},
{
"record": "MX",
"name": "send",
"type": "MX",
"ttl": "Auto",
"status": "pending",
"value": "feedback-smtp.eu-west-3.amazonses.com",
"priority": 10
},
{
"record": "SPF",
"name": "send",
"type": "TXT",
"ttl": "Auto",
"status": "pending",
"value": "v=spf1 include:amazonses.com ~all"
},
{
"record": "TXT",
"name": "_smartletter-verify",
"type": "TXT",
"ttl": "Auto",
"status": "pending",
"value": "smartletter-verify=6f1d0c9e2b"
}
],
"tracking_subdomain": "news"
}get/domains— List domains
Keys: full_access
Query parameters
| limit | integer | 1–100, default 20. |
| after | uuid | Id of the last item of the previous page (older items). |
| before | uuid | Id of the first item of the previous page (newer items). |
curl -X GET https://api.smartletter.ai/domains \
-H "Authorization: Bearer $SMARTLETTER_API_KEY"Response 200
{
"object": "list",
"has_more": false,
"data": [
{
"id": "5b1f2c90-0000-4000-8000-000000000002",
"name": "acme.com",
"status": "verified",
"created_at": "2026-10-17T09:00:00.000Z",
"region": "eu-west-3"
}
]
}get/domains/{id}— Retrieve a domain (with DNS records)
Keys: full_access
curl -X GET https://api.smartletter.ai/domains/<id> \
-H "Authorization: Bearer $SMARTLETTER_API_KEY"Response 200
{
"object": "domain",
"id": "5b1f2c90-0000-4000-8000-000000000002",
"name": "acme.com",
"status": "verified",
"review_status": "none",
"created_at": "2026-10-17T09:00:00.000Z",
"region": "eu-west-3",
"records": [
{
"record": "DKIM",
"name": "a1b2c3._domainkey",
"type": "CNAME",
"ttl": "Auto",
"status": "verified",
"value": "a1b2c3.dkim.amazonses.com"
},
{
"record": "DKIM",
"name": "d4e5f6._domainkey",
"type": "CNAME",
"ttl": "Auto",
"status": "verified",
"value": "d4e5f6.dkim.amazonses.com"
},
{
"record": "DKIM",
"name": "g7h8i9._domainkey",
"type": "CNAME",
"ttl": "Auto",
"status": "verified",
"value": "g7h8i9.dkim.amazonses.com"
},
{
"record": "MX",
"name": "send",
"type": "MX",
"ttl": "Auto",
"status": "verified",
"value": "feedback-smtp.eu-west-3.amazonses.com",
"priority": 10
},
{
"record": "SPF",
"name": "send",
"type": "TXT",
"ttl": "Auto",
"status": "verified",
"value": "v=spf1 include:amazonses.com ~all"
},
{
"record": "TXT",
"name": "_smartletter-verify",
"type": "TXT",
"ttl": "Auto",
"status": "verified",
"value": "smartletter-verify=6f1d0c9e2b"
}
]
}post/domains/{id}/verify— Verify a domain
Keys: full_access
curl -X POST https://api.smartletter.ai/domains/<id>/verify \
-H "Authorization: Bearer $SMARTLETTER_API_KEY"Response 200
{
"object": "domain",
"id": "5b1f2c90-0000-4000-8000-000000000002"
}