Retrieve a domain
Retrieve the status and DNS verification details for a sending domain.
GET
/v1/emails/domains/{domainId}Authorization
Bearer token
- Authorizationrequiredheader
Send your API key as
Bearer YOUR_API_KEY.
Path parameters
domainIdrequiredstringThe domain identifier in the URL path.
Response
application/json200 OK
The domain is returned under data.
idstringDomain identifier.
domainstringSending subdomain.
statusstringOne of
"pending""verified""failed"regionstringSending region.
open_trackingbooleanWhether open tracking is enabled.
verification_errorstring or nullWhat still needs attention when the domain is not verified.
verification_attemptsnumberHow many verification checks ran.
verification_attempted_atstring or nullWhen the last verification check ran.
dns_recordsarrayDNS records to publish, each with
id,purpose,record_type,name,value,priority,status,required_for_sending,last_checked_at,error_code, anderror_message.last_verified_atstring or nullLast successful verification timestamp.
created_atstringCreation timestamp.
updated_atstringLast change timestamp.