Ir al contenido

Verify domain ownership via DNS

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

DEPRECATED — use POST /v1/client/domains/{domain}/verify (domain-centric dashboard flow). Looks up the TXT record and marks the domain verified if found. On success the account-level domain (account_domains, the source of truth for send authorization) is marked verified so the domain can send.

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