auth

Verify Turnstile

Public: confirms a Cloudflare Turnstile widget response token server-side (forwarding the caller's IP as remoteip) and reports pass/fail. A failed challenge is returned as 200 {success:false, ...error codes}, not a 4xx, so the client can distinguish "try the widget again" from a malformed request; 503 if no Turnstile secret is configured on this deployment (fails loud rather than silently passing every caller).

post/auth/turnstile/verify

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/auth/turnstile/verify
  • Auth: none declared

Request body

tokenstring

Response

OK

actionstring
error_codesstring[]
hostnamestring
successboolean

deprecated: token validity, NOT request success — read Valid

validboolean

Changes

No recorded changes to this operation across all 1 revision of this API.