🍪Using Cookies

In some cases, captchas additionally verify the cookie jar of the challenge solver. In this case, you can optionally add your own cookies to the solution process.

Using Cookies

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

{
  "clientKey": "DATALABS_API_KEY",
  "task": {
    "type": "TASK_DATA",
    "websiteURL": "WEBSITE_URL",
    "websiteKey": "WEBSITE_KEY",
    "cookies": [
      {
        "name": "cookie_name_1",
        "value": "cookie_value_1"
      },
      {
        "name": "cookie_name_2",
        "value": "cookie_value_2"
      }
    ],
  }
}
Parameters
Type
Description

cookies

array

Array of cookies to be sent.

cookies.name

string

The cookie name.

cookies.value

string

The cookie value.

Last updated