🤝Get Task Result [/getTaskResult]

The API endpoint for retrieving the solution to an existing captcha task.

This endpoint has a prerequisite request, /createTask, in which provides the required taskId parameter.

Full Rest API Endpoint: https://captcha.datalabs.net/getTaskResult

Request Structure

ParametersRequiredDescription

clientKey

true

Your accounts private API Key.

taskId

true

The taskId parameter passed by the /createTask endpoint.

POST https://captcha.datalabs.net/getTaskResult
Host: captcha.datalabs.net
Content-Type: application/json

{
  "clientKey": "DATALABS_API_KEY",
  "taskId": "1234567890"
}

Response Structure

ParametersDescription

errorId

0: Without error. 1: Error with request.

errorCode

Short code for error type.

status

The current status of the task. (e.g. "processing", "ready")

solution

The result of the completed task.

Example Responses

{
  "errorId": 0,
  "status": "processing"
}
{
  "errorId":0,
  "status":"ready",
  "solution": {
    "gRecaptchaResponse":"03AFcWeA6P_W0urJnFwK-f2psFTXp..."
  }
}

Last updated