Cloudflare · Schema

Widget

AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb Performance

Properties

Name Type Description
sitekey string The public site key for the widget.
secret string The secret key for server-side verification.
name string A human-readable name for the widget.
domains array Allowed domains for the widget.
mode string The challenge mode for the widget.
bot_fight_mode boolean Whether Bot Fight Mode is enabled.
created_on string
modified_on string
View JSON Schema on GitHub

JSON Schema

cloudflare-turnstile-widget-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Widget",
  "type": "object",
  "properties": {
    "sitekey": {
      "type": "string",
      "description": "The public site key for the widget."
    },
    "secret": {
      "type": "string",
      "description": "The secret key for server-side verification."
    },
    "name": {
      "type": "string",
      "description": "A human-readable name for the widget."
    },
    "domains": {
      "type": "array",
      "description": "Allowed domains for the widget."
    },
    "mode": {
      "type": "string",
      "description": "The challenge mode for the widget."
    },
    "bot_fight_mode": {
      "type": "boolean",
      "description": "Whether Bot Fight Mode is enabled."
    },
    "created_on": {
      "type": "string"
    },
    "modified_on": {
      "type": "string"
    }
  }
}