List the team's custom domains
/v1/domainsAuthorizationBearer token · headerrequiredA team API key, sbk_..., from Settings, API keys.
x-api-keyAPI key · headerrequiredThe same key, in a header of its own.
The claims, by hostname.
domainsDomainClaim[]requiredShow propertiesHide properties
DomainClaimhoststringstatestringpendingverifiedlostmethodstringtxtoperatorverified_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
objectprojectstringkeystringNo 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 key is over its requests a minute (600, or 2,000 with app:write; reason: key-rate-limited, retry_after_s, Retry-After). Wait that long and retry.
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredkey-rate-limitedretry_after_sintegerrequiredSeconds to wait; also the Retry-After header.