# AntiTurnstileTask

Solve this captcha type.

## Task type

`AntiTurnstileTask`

## Sync or poll

Async — poll `/getTaskResult`

## Parameters

| Field | Type | Required | Notes |
|---|---|---|---|
| `type` | string | yes | `AntiTurnstileTask` |
| `websiteURL` | string | yes | Page URL |
| `websiteKey` | string | yes | Turnstile sitekey |
| `proxy` | string | no | Browser proxy |

## Minimal request

```json
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "AntiTurnstileTask",
    "websiteURL": "https://example.com",
    "websiteKey": "0x4AAAA..."
  }
}
```

## Success solution

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

## Typical failures

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

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