Ir al contenido

Verify domain ownership via DNS

POST
/v1/domains/{domain}/verify
curl --request POST \
--url https://api.mailerdash.com/v1/domains/mycompany.com/verify \
--header 'Authorization: Bearer <token>'

Looks up the TXT record and marks the domain as verified if found. On success, domain is automatically added to allowed_from_domains.

domain
required
string
Example
mycompany.com

Domain verified

Media type application/json
object
domain
string
verified
boolean
verified_at
string
Example generated
{
"domain": "example",
"verified": true,
"verified_at": "example"
}

TXT record not found or DNS error

Unauthorized

Domain not registered