List the workspace's Turnstile domains
Domains the caller's workspace has claimed for Turnstile, verified or not, with the proof each needs. Any member of the workspace.
View as MarkdownAuthorization
bearer In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/turnstile/domains"{ "domains": [ { "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" } ], "limit": 0}Delete a destination
Owner-only delete; a shared form's destination returns 403.
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).