Turnstile
TurnstileWidgets
List Turnstile Widgets
Turnstile Widget Details
Create a Turnstile Widget
Update a Turnstile Widget
Delete a Turnstile Widget
Rotate Secret for a Turnstile Widget
ModelsExpand Collapse
Widget object { bot_fight_mode, clearance_level, created_on, 11 more } A Turnstile widget’s detailed configuration
A Turnstile widget’s detailed configuration
If bot_fight_mode is set to true, Cloudflare issues computationally
expensive challenges in response to malicious bots (ENT only).
clearance_level: "no_clearance" or "jschallenge" or "managed" or "interactive"If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance,
this setting can determine the clearance level to be set
If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance, this setting can determine the clearance level to be set
Human readable widget name. Not unique. Cloudflare suggests that you set this to a meaningful string to make it easier to identify your widget, and where it is used.
region: "world" or "china"Region where this widget can be used. This cannot be changed after creation.
Region where this widget can be used. This cannot be changed after creation.
deployed_via: optional "wrangler" or "dashboard" or "spin" or 2 moreOrigin that created this widget, recorded at creation time and
immutable afterward. Server-derived from the create request; not
client-settable. Omitted from the response for widgets created
before this field existed.
Origin that created this widget, recorded at creation time and immutable afterward. Server-derived from the create request; not client-settable. Omitted from the response for widgets created before this field existed.
WidgetListResponse object { bot_fight_mode, clearance_level, created_on, 10 more } A Turnstile Widgets configuration as it appears in listings
A Turnstile Widgets configuration as it appears in listings
If bot_fight_mode is set to true, Cloudflare issues computationally
expensive challenges in response to malicious bots (ENT only).
clearance_level: "no_clearance" or "jschallenge" or "managed" or "interactive"If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance,
this setting can determine the clearance level to be set
If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance, this setting can determine the clearance level to be set
Human readable widget name. Not unique. Cloudflare suggests that you set this to a meaningful string to make it easier to identify your widget, and where it is used.
region: "world" or "china"Region where this widget can be used. This cannot be changed after creation.
Region where this widget can be used. This cannot be changed after creation.
deployed_via: optional "wrangler" or "dashboard" or "spin" or 2 moreOrigin that created this widget, recorded at creation time and
immutable afterward. Server-derived from the create request; not
client-settable. Omitted from the response for widgets created
before this field existed.
Origin that created this widget, recorded at creation time and immutable afterward. Server-derived from the create request; not client-settable. Omitted from the response for widgets created before this field existed.