createTask: Create Task

Warning

Generates a task for solving a specified captcha type by indicating the type in the parameter. For instance, use "KasadaCaptchaSolver." Explore all the supported task types.

Example request

To obtain a task ID, make a POST request to this URL: https://salamoonder.com/api/createTask. In the request body, include your API key and specify the task type as "KasadaCaptchaSolver."

POST https://salamoonder.com/api/createTask
Host: salamoonder.com
Content-Type: application/json

{
    "api_key": "sr-xxxx-xxxx-xxxx",
    "task": {
        "type": "KasadaCaptchaSolver",
        "pjs": "https://example.com/xxxx/p.js",
        "cdOnly": "true/false"
    }
}

You will receive a response like this

{
  "error_code": 0,
  "error_description": "",
  "taskId": "118b941e-c035-4429-8ec3-18d5d19ccf9b"
}

Make sure to replace "YOUR API KEY" with your actual API key and task ID as needed.

Last updated