After creating a task with createTask, its status needs to be checked periodically in order to obtain the final result.
https://captcha69.com/getTaskResultJSON POST
| Parameter | Type | Required |
|---|---|---|
clientKey |
String | Required |
taskId |
Integer | Required |
clientKeyYour unique account API key.
taskIdID which was obtained in the createTask method.
{
"clientKey": "max1_YOUR_API_KEY",
"taskId": 7654321
}
| Parameter | Type | Description |
|---|---|---|
errorId |
Integer | Error identifier. 0 - no errors. 1 - error, see errorCode. |
errorCode |
String | Error code. See the error list for details. |
status |
String | processing - task is not ready yet. ready - task is complete, the solution is in the solution property. |
solution |
Object | Task result data. Structure varies by task type. |
{
"errorId": 0,
"errorCode": null,
"errorDescription": null,
"status": "processing"
}
{
"errorId": 0,
"status": "ready",
"solution": {
"text": "answer"
}
}
getTaskResult request. Then retry every 3-5 seconds until the status changes to ready or an error is returned. Remember the 120 request limit per task.