Get Domain

Fetch one sending domain by id or hostname.

MethodGET
/api/v2/domains/:domain

Returns one sending domain. :domain is a MailDomain id or hostname. The body is the domain object — not the hostname string. Permission: domains.

Path Parameters

NameTypeDescription
domainstringRequired. MailDomain id or hostname.

Response Fields

FieldTypeDescription
idstringMailDomain id.
domainstringHostname.
statusstringNOT_STARTED, PENDING, VERIFIED, or FAILED.
regionstringAWS region.
createdAtstringISO 8601 created timestamp.
sesRecordsarrayStored SES DNS records when present.
dnsRecordsarrayCurrent DNS records: type, name, value, priority, ttl, purpose.
messagestringStatus copy when verification is incomplete.

Errors

StatusnameWhen
401missing_api_keyMissing or invalid bearer token
403missing_permissionToken lacks the domains permission
404not_foundUnknown id or hostname