Check a Turnstile domain's proof
Looks for the proof: a DNS TXT record at proof.dnsName holding proof.dnsValue (verifies the host and its subdomains), else the file at proof.fileUrl holding proof.fileBody (verifies that host only; fetched over HTTPS on port 443 from public addresses only, no redirects). At most 6 checks per workspace per minute. Another workspace's domain is 404.
View as MarkdownAuthorization
bearer In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/turnstile/domains/string/verify"{ "domain": { "host": "string", "verified": true, "verifiedAt": "2019-08-24T14:15:22Z", "method": "string", "proof": { "dnsName": "string", "dnsValue": "string", "fileUrl": "string", "fileBody": "string" }, "createdAt": "2019-08-24T14:15:22Z" }}Claim a Turnstile domain
Claims a host (like example.com) and returns the proof to publish. Refused (400) with a code: turnstile_host_ip (an IP address), turnstile_host_local (a local name), turnstile_host_shared (a public suffix or shared platform name; their subdomains are fine), turnstile_host_easerix (Easerix's own names), turnstile_host_invalid (not a domain name). Claiming a host already claimed returns it (200). At most `limit` domains per workspace (409 turnstile_domain_limit).
Remove a Turnstile domain
Refused (409 turnstile_domain_in_use, with formId) while a form of the workspace using Turnstile relies on it. Another workspace's domain is 404.