🍪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.

Cookies are only supported for captcha's that may require cookies.

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"
      }
    ],
  }
}
ParametersTypeDescription

cookies

array

Array of cookies to be sent.

cookies.name

string

The cookie name.

cookies.value

string

The cookie value.

Last updated