Cloudflare · Schema

VerifyResponse

AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb Performance

Properties

Name Type Description
success boolean Whether the token was valid.
challenge_ts string Timestamp of the challenge.
hostname string Hostname for which the challenge was solved.
error-codes array Error codes if verification failed.
action string The action name from the widget.
cdata string Custom data from the widget.
View JSON Schema on GitHub

JSON Schema

cloudflare-turnstile-verify-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "VerifyResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether the token was valid."
    },
    "challenge_ts": {
      "type": "string",
      "description": "Timestamp of the challenge."
    },
    "hostname": {
      "type": "string",
      "description": "Hostname for which the challenge was solved."
    },
    "error-codes": {
      "type": "array",
      "description": "Error codes if verification failed."
    },
    "action": {
      "type": "string",
      "description": "The action name from the widget."
    },
    "cdata": {
      "type": "string",
      "description": "Custom data from the widget."
    }
  }
}