Turnstile Pre-Clearance

Pre-clearance lets a successful Turnstile challenge set a cookie that Cloudflare-proxied properties can honor to skip subsequent bot challenges for the same visitor, which is useful for single-page applications and API-heavy flows.

Turnstile Pre-Clearance is one of 4 APIs that Cloudflare Turnstile publishes on the APIs.io network.

Tagged areas include Pre-Clearance, Cookies, and SPA. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: cloudflare-turnstile:pre-clearance
name: Turnstile Pre-Clearance
description: 'Pre-clearance lets a successful Turnstile challenge set a cookie

  that Cloudflare-proxied properties can honor to skip subsequent

  bot challenges for the same visitor, which is useful for single-page

  applications and API-heavy flows.

  '
humanURL: https://developers.cloudflare.com/turnstile/concepts/pre-clearance-support/
baseURL: https://challenges.cloudflare.com/turnstile/v0/api.js
tags:
- Pre-Clearance
- Cookies
- SPA
properties:
- type: Documentation
  url: https://developers.cloudflare.com/turnstile/concepts/pre-clearance-support/