Turnstile Client Widget

The Turnstile client widget renders the challenge in the browser. It is loaded via a script tag at challenges.cloudflare.com/turnstile/v0/api.js and configured with a sitekey, optional theme, action, cdata, and callback functions. Widgets can be Managed, Non-interactive, or Invisible.

Turnstile Client Widget is one of 4 APIs that Cloudflare Turnstile publishes on the APIs.io network.

Tagged areas include JavaScript, Widget, Frontend, Managed, and Invisible. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: cloudflare-turnstile:client-widget
name: Turnstile Client Widget
description: 'The Turnstile client widget renders the challenge in the browser.

  It is loaded via a script tag at challenges.cloudflare.com/turnstile/v0/api.js

  and configured with a sitekey, optional theme, action, cdata, and

  callback functions. Widgets can be Managed, Non-interactive, or

  Invisible.

  '
humanURL: https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/
baseURL: https://challenges.cloudflare.com/turnstile/v0/api.js
tags:
- JavaScript
- Widget
- Frontend
- Managed
- Invisible
properties:
- type: Documentation
  url: https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/
- type: ScriptURL
  url: https://challenges.cloudflare.com/turnstile/v0/api.js
- type: Examples
  url: https://github.com/cloudflare/turnstile-demo-workers