# AntiAwsWafTask

Solve this captcha type.

## Task type

`AntiAwsWafTask`

## Sync or poll

Synchronous: `/createTask` returns the result

## Parameters

| Field | Type | Required | Notes |
|---|---|---|---|
| `type` | string | yes | `AntiAwsWafTask` |
| `websiteURL` | string | yes | Target page |
| `referrer` | string | no | Defaults from websiteURL |
| `awsKey` / `awsIv` / `awsContext` | string | no | All three or none |

## Minimal request

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

## Success solution

```json
{"token":"aws-waf-token=..."}
```

## Typical failures

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

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