# AntiCloudflareTask

Solve this captcha type.

## Task type

`AntiCloudflareTask`

## Sync or poll

Async — poll `/getTaskResult`

## Parameters

| Field | Type | Required | Notes |
|---|---|---|---|
| `type` | string | yes | `AntiCloudflareTask` |
| `websiteURL` | string | yes | Protected page |
| `proxy` | string | no | Browser proxy |

## Minimal request

```json
{
  "clientKey": "YOUR_API_KEY",
  "task": {"type":"AntiCloudflareTask","websiteURL":"https://www.example.com/protected"}
}
```

## Success solution

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

## Typical failures

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

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