Skip to documentation
Dashboard
Domains

Check domain verification

Refresh DNS verification and return normalized readiness plus record states.

POST/api/v1/domains/{domainId}/verify
On this page

Authentication

Send a RouteKite API key as a Bearer token. This endpoint requires the domain:manage scope.

Required headers
NameTypeRequirementDescription
AuthorizationstringRequiredBearer API key with the required workspace scope.Example: Bearer rk_your_key

Path parameters

Path parameters
NameTypeRequirementDescription
domainIduuidRequiredDomain identifier returned by RouteKite.

Response

Response fields
NameTypeRequirementDescription
objectstringAlwaysAlways domain.
iduuidAlwaysDomain identifier.
namehostnameAlwaysNormalized sending domain.
statusstringAlwayswaiting_for_dns, ready, needs_attention, or archived.
sending_readybooleanAlwaysWhether verified Sending Addresses can be used.
dns_records_urlstringAlwaysRoute for the exact DNS records.
last_checked_atdate-time | nullAlwaysLatest verification check.
dns_recordsdns_record[]AlwaysLatest record states.

Check responsibly

DNS propagation can take time. Avoid rapid polling. Keep the records published after verification.

Errors

StatusCodeWhat it meansWhat to do
401UNAUTHORIZEDThe API key is invalid.Check the Bearer header.
403FORBIDDENThe key cannot read sending configuration.Use domain:read, domain:manage, or legacy email:send access.
404DOMAIN_NOT_FOUNDThe domain is not in this workspace.Check the domain ID and API key workspace.
429RATE_LIMITEDToo many requests were made.Honor Retry-After before retrying.
503SETUP_UNAVAILABLEConfiguration could not be loaded.Retry after a short delay.
409DOMAIN_ALREADY_EXISTSThe domain is already configured.Use the existing domain or choose another.
409DOMAIN_NOT_READYDNS verification is incomplete.Publish every required record and verify the domain.
422SENDING_ADDRESS_INVALIDThe address does not match the selected domain.Use an address on the verified domain.