🤖Create Task [/createTask]

The API endpoint for starting a solving task.

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

Request Structure

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

{
  "clientKey": "DATALABS_API_KEY",
  "task": {
    "type": "RecaptchaV2TaskProxyless",
    "websiteURL": "https://google.com/recaptcha/api2/demo",
    "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
  },
  "callbackUrl": "https://example.com/callback"
}

Response Structure

Example Responses

{
    "errorId": 1,
    "errorCode": "ERROR_NO_SUCH_METHOD",
    "errorDescription": "Invalid type"
}
{
    "errorId": 0,
    "taskId": "12341234-1234-1234-1234-123412341234"
}

Last updated