Check the DNS proof
Looks the TXT record up through two public resolvers; both must agree. 400 reason explains a miss (the record is
not there yet, or the resolvers disagree). One check per domain every 10 seconds (429 verify-cooldown,
retry_after_s), and 20 new verifications an hour platform-wide (429 verify-cap). DNS can take minutes to
propagate, so poll no faster than the cooldown.
/v1/domains/{host}/verifyAuthorizationBearer token · headerrequiredA team API key, sbk_..., from Settings, API keys.
x-api-keyAPI key · headerrequiredThe same key, in a header of its own.
hoststringrequiredA custom domain, lowercase, percent-encoded if needed.
The claim, now verified if the proof was found.
hoststringstatestringpendingverifiedlostmethodstringtxtoperatorverified_atstring<date-time> | nulllast_checked_atstring<date-time> | nulllost_atstring<date-time> | nulllost_reasonstring | nullcreated_atstring<date-time>txtobject | nullThe DNS record to publish while the claim is pending (and after a loss, to take the name back). Null once verified.
Show propertiesHide properties
typestringnamestringvaluestringroutesobject[]The team's apps that route this host.
Show propertiesHide properties
objectprojectstringkeystringThe DNS proof is not there yet or could not be confirmed (txt-missing, txt-unconfirmed); expected is the record to publish.
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredtxt-missingexpectedDnsTxtRecordrequiredShow propertiesHide properties
typestringrequirednamestringrequiredvaluestringrequireddetailstringrequiredWhat the resolvers answered.
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredtxt-unconfirmedexpectedDnsTxtRecordrequiredShow propertiesHide properties
typestringrequirednamestringrequiredvaluestringrequireddetailstringrequiredWhat went wrong.
errorstringrequiredA message for people. Do not parse it.
reasonstringA stable, machine-readable cause, when there is one.
pathstringThe request field at fault.
needstringThe grant a 403 asks for, app:write for example.
retry_after_sintegerNo key, or an invalid, expired or revoked key (unknown or missing API token, invalid, expired or revoked API key). No reason.
errorstringrequiredA message for people. Do not parse it.
reasonstringA stable, machine-readable cause, when there is one.
pathstringThe request field at fault.
needstringThe grant a 403 asks for, app:write for example.
retry_after_sintegerThe key lacks a grant (reason: forbidden, need: "<resource>:<action>").
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredforbiddenneedstringrequiredThe grant, as <resource>:<action>, for example app:write.
The team has no claim on this hostname (reason: no-claim).
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredno-claimerrorstringrequiredA message for people. Do not parse it.
reasonstringA stable, machine-readable cause, when there is one.
pathstringThe request field at fault.
needstringThe grant a 403 asks for, app:write for example.
retry_after_sintegerAnother team holds the name (host-claimed), or the claim changed during the check (claim-changed).
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredhost-claimederrorstringrequiredA message for people. Do not parse it.
reasonstringrequiredclaim-changedOne check per domain every 10 seconds (verify-cooldown), 20 new verifications an hour platform-wide (verify-cap), or key-rate-limited. Honor Retry-After.
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredkey-rate-limitedretry_after_sintegerrequiredSeconds to wait; also the Retry-After header.
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredverify-cooldownretry_after_sintegerrequirederrorstringrequiredA message for people. Do not parse it.
reasonstringrequiredverify-capretry_after_sintegerrequired