Turnstile Siteverify API

The Turnstile siteverify endpoint accepts a token produced by the browser widget along with the site's secret key and an optional remote IP and idempotency key, and returns a JSON verdict with success, hostname, action, cdata, and any error codes. This is the canonical server-side check that authorizes a form submission or API call protected by Turnstile.

Turnstile Siteverify API is one of 4 APIs that Cloudflare Turnstile publishes on the APIs.io network.

Tagged areas include Siteverify, Server-Side, and Token Verification. The published artifact set on APIs.io includes API documentation and an API reference.

API entry from apis.yml

apis.yml Raw ↑
aid: cloudflare-turnstile:siteverify
name: Turnstile Siteverify API
description: 'The Turnstile siteverify endpoint accepts a token produced by the

  browser widget along with the site''s secret key and an optional

  remote IP and idempotency key, and returns a JSON verdict with

  success, hostname, action, cdata, and any error codes. This is the

  canonical server-side check that authorizes a form submission or

  API call protected by Turnstile.

  '
humanURL: https://developers.cloudflare.com/turnstile/get-started/server-side-validation/
baseURL: https://challenges.cloudflare.com/turnstile/v0/siteverify
tags:
- Siteverify
- Server-Side
- Token Verification
properties:
- type: Documentation
  url: https://developers.cloudflare.com/turnstile/get-started/server-side-validation/
- type: APIReference
  url: https://developers.cloudflare.com/turnstile/get-started/server-side-validation/
- type: EndpointURL
  url: https://challenges.cloudflare.com/turnstile/v0/siteverify