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

# Create Task

> Create a new asynchronous captcha solving task.

**POST** `/createTask`

This endpoint initiates a captcha solving task. It runs asynchronously, meaning you will need to poll the `/getTask` endpoint to retrieve the result once it's ready.

### Request Body

```json theme={null}
{
  "api_key": "your-syllara-api-key",
  "preset": "roblox_login",
  "proxy": "user:pass@ip:port",
  "blob": "optional-blob-data",
  "custom_cookies": { "cookie_name": "cookie_value" },
  "custom_locale": "en-US",
  "chrome_version": "128"
}
```

* `api_key` (string, **Required**): Your Syllara API key.
* `preset` (string, **Required**): Identifies the target site configuration. See **Available Presets** below.
* `proxy` (string, Optional): The proxy to use for solving (Format: `user:pass@ip:port` or `ip:port`).
* `blob` (string, Optional): Required for sites that enforce blob-based validation (e.g., Outlook, Snapchat from the presets).
* `custom_cookies` (object, Optional): A dictionary of cookies to set for the solving session.
* `custom_locale` (string, Optional): Specify a locale (e.g., "es-ES", "fr-FR"). Defaults depend on solver configuration (e.g. "sv-SE" in the provided code).
* `chrome_version` (string, Optional): Specify a Chrome version (e.g., "127", "129"). Defaults depend on solver configuration.

### Available Presets

Based on the API code, the following presets are available:

* `linkedin_register`
* `match_login`
* `twitter_register`
* `twitter_unlock`
* `roblox_register`
* `roblox_login`
* `github_register`
* `snapchat_register`
* `outlook_register`
* `outlook_phone`

### Response Example (Success)

If the task is accepted, you will receive a `task_id`.

```json theme={null}
{
  "success": true,
  "task_id": "a1b2c3d4e5f67890abcdef1234567890"
}
```

### Response Example (Error)

```json theme={null}
{
  "success": false,
  "err": "Invalid API key"
}
```

Possible errors include invalid API key, insufficient balance/expired key, invalid preset, or other request issues.
