API reference

The only endpoint you call from your server is siteverify. The other endpoints are used by the widget.

Base URL: https://recloud-turnstile.bunowave.shop/api/v1

POST /siteverify

Verifies a token. Accepts form-encoded or JSON bodies.

FieldRequiredDescription
secretYesYour site's secret key.
responseYesThe token from the recloud-response field.
remoteipNoThe visitor's IP address. When provided, it must match the address the token was issued to.

Successful response

{
  "success": true,
  "challenge_ts": "2026-11-24T10:15:30+00:00",
  "hostname": "example.com",
  "risk": 0,
  "error-codes": []
}

Failed response

{
  "success": false,
  "error-codes": ["timeout-or-duplicate"]
}

Error codes

siteverify

CodeMeaning
missing-inputThe secret or response parameter is missing.
invalid-input-secretThe secret key is wrong, or the site is paused.
invalid-input-responseThe token is malformed, forged or belongs to another site.
timeout-or-duplicateThe token expired or has already been verified.
ip-mismatchThe provided remote IP differs from the one the token was issued to.

Widget endpoints

CodeMeaning
invalid-sitekeyThe site key does not exist or the site is paused.
domain-not-allowedThe page's domain is not in the site's allowed domains.
invalid-challengeThe challenge expired or does not exist.
challenge-usedThe challenge was already attempted.
invalid-solutionThe proof-of-work solution is incorrect.
challenge-failedThe risk score reached the limit for the site's mode.
bad-requestThe request body failed validation.

Rate limits

EndpointLimit
POST /siteverify600 requests per minute per IP address
POST /challenge and POST /solve60 requests per minute per IP address each

Widget endpoints

POST /challenge and POST /solve are used internally by the widget and are not intended to be called directly. Their request format may change without notice.