> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snakecaptcha.com/llms.txt
> Use this file to discover all available pages before exploring further.

# createTask

The createTask is used to solve a captcha in a more organized and cleaner way.\
\
**Endpoint:** [https://api.snakecaptcha.com/createTask](https://api.hexcap.cc/createTask)

**Method:** POST

**Content type:** application/json

| Name      | Type   | Description           |
| --------- | ------ | --------------------- |
| clientKey | String | Your API key          |
| task      | Object | The captcha task info |

```text theme={null}
{
    "clientKey":"api key",
    "task": {
        "type":"RecaptchaV2Task",
        "websiteURL":"https://www.google.com/recaptcha/api2/demo",
        "websiteKey":"6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
    }
}
```

```text theme={null}
{"TaskId": "xxxx", "TS": "1759684692536"}
```
