Solver
Poll task result
Returns the current state of a task created via /createTask. Poll until
status is ready (solution available) or failed. While solving, status
is idle or processing.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
clientKey*string
Your API key.
taskId*string
Task ID from the createTask response.
Response Body
application/json
curl -X POST "https://example.com/getTaskResult" \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY", "taskId": "CFTCirZWgod" }'{ "errorCode": 0, "errorDescription": null, "errorId": 0, "solution": { "token": "0.WdWV79pV71mHDjQ...", "type": "turnstile", "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" }, "status": "ready"}