Domains
Add a domain
Register a new sending domain. Returns the DNS records that must be configured before the domain can be verified.
post/v1/domains
Request
- Base URL: https://smtpfa.st/api
- URL: https://smtpfa.st/api/v1/domains
- Auth: HTTP bearer
Request body
Example request
{
"domain": "yourapp.com"
}Response
Domain created with DNS records to configure
Example response
{
"id": "dom_xyz789",
"domain": "yourapp.com",
"status": "pending",
"receiving": {
"mx_record": {
"type": "MX",
"priority": 10
}
},
"dkim_status": "verified",
"spf_status": "verified",
"dmarc_status": "pending",
"mail_from_status": "verified",
"mail_from_domain": "bounce.yourapp.com",
"region": "us-east-1",
"provider": {
"id": "cloudflare",
"name": "Cloudflare"
},
"events": [
{
"key": "dns_live",
"label": "DNS records live"
}
],
"dns_records": [
{
"type": "CNAME",
"name": "abc123._domainkey.yourapp.com",
"value": "abc123.dkim.amazonses.com",
"ttl": "Auto",
"status": "pending",
"purpose": "DKIM authentication"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.