Authentication

Fetch Turnstile site key

GET
/bot-protection/site-key

Authorization

appId
headerx-app-id<token>

Your application ID. Required on app-tier and user-tier routes. Omitted on routes that authenticate with x-app-api-key only.

Response Body

200

application/json
  1. response
siteKey*string
Example Request
curl -X GET 'https://api.t.sufwankhalid.com/bot-protection/site-key'
Example Response
{  "siteKey": "string"}