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.
| Field | Required | Description |
|---|---|---|
secret | Yes | Your site's secret key. |
response | Yes | The token from the recloud-response field. |
remoteip | No | The 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
| Code | Meaning |
|---|---|
missing-input | The secret or response parameter is missing. |
invalid-input-secret | The secret key is wrong, or the site is paused. |
invalid-input-response | The token is malformed, forged or belongs to another site. |
timeout-or-duplicate | The token expired or has already been verified. |
ip-mismatch | The provided remote IP differs from the one the token was issued to. |
Widget endpoints
| Code | Meaning |
|---|---|
invalid-sitekey | The site key does not exist or the site is paused. |
domain-not-allowed | The page's domain is not in the site's allowed domains. |
invalid-challenge | The challenge expired or does not exist. |
challenge-used | The challenge was already attempted. |
invalid-solution | The proof-of-work solution is incorrect. |
challenge-failed | The risk score reached the limit for the site's mode. |
bad-request | The request body failed validation. |
Rate limits
| Endpoint | Limit |
|---|---|
POST /siteverify | 600 requests per minute per IP address |
POST /challenge and POST /solve | 60 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.