Turnstile
Returns the public Turnstile site key configured for this tenant. Returns 404 when Turnstile is not configured. The secret key is never returned.
Configuration returned.
The tenant's Cloudflare Turnstile settings, without the secret key.
Public site key the customer web app renders the Turnstile widget with.
How long, in seconds, a browser that passed the challenge can create accounts again without a new one. 0: every account creation requires a new challenge.
The caller is not authenticated.
The caller lacks the tenant.cloudflare.turnstile.settings:read scope.
Turnstile is not configured for this tenant.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
GET /api/{tenantId}/admin/extensions/cloudflare/turnstile HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"siteKey": "text",
"proofCookieValidityDurationSeconds": 1
}Replaces the site key and proof cookie duration, and the secret key when one is sent. Omit secretKey to update the site key without rotating the secret.
Cloudflare Turnstile settings. Once a site key is stored, every customer account creation must pass a Turnstile challenge.
Public site key the customer web app renders the Turnstile widget with.
Turnstile secret key of the widget. Never returned.
How long, in seconds, a browser that passed the challenge can create accounts again without a new one. 0 requires a new challenge for every account creation.
Configuration saved.
No content
Request body is invalid: siteKey is missing, proofCookieValidityDurationSeconds is missing or negative, or no secret key is sent and none is saved.
The caller is not authenticated.
The caller lacks the tenant.cloudflare.turnstile.settings:write scope.
The tenant does not exist, or the endpoint is not available to it.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
PUT /api/{tenantId}/admin/extensions/cloudflare/turnstile HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"siteKey": "text",
"secretKey": null,
"proofCookieValidityDurationSeconds": 1
}No content
Delete Cloudflare Turnstile configuration
Removes the Turnstile configuration. This disables Turnstile for the tenant. Also removes the Turnstile secret when present.
Configuration deleted.
No content
The caller is not authenticated.
The caller lacks the tenant.cloudflare.turnstile.settings:write scope.
The tenant does not exist, or the endpoint is not available to it.
Over 1200 requests per minute to this endpoint for the tenant (default limit); retry after Retry-After.
DELETE /api/{tenantId}/admin/extensions/cloudflare/turnstile HTTP/1.1
Host: api.thewalletcrew.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Last updated

