# AntiCloudflareTaskV2

Solve this captcha type.

## Task type

`AntiCloudflareTaskV2`

## Sync or poll

Async — poll `/getTaskResult`

## Parameters

| Field | Type | Required | Notes |
|---|---|---|---|
| `type` | string | yes | `AntiCloudflareTaskV2` |
| `websiteURL` | string | yes | Protected page |
| `proxy` | string | yes | Static/sticky exit IP |

## Minimal request

```json
{
  "clientKey": "YOUR_API_KEY",
  "task": {"type":"AntiCloudflareTaskV2","websiteURL":"https://TARGET/protected","proxy":"http://USER:PASS@HOST:PORT"}
}
```

## Success solution

```json
{"cookies":"...","token":"...","userAgent":"..."}
```

## Typical failures

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

Source: https://kaptra.ai/docs/task-types/anti-cloudflare-v2
