createTask

Starts a solve and returns a task ID you use to fetch the result.

POST https://api.silentcap.fun/createTask

Request body

createTask request fields
FieldTypeDescription
clientKey RequiredstringYour API key.
task RequiredobjectThe captcha to solve. Its type field decides which other fields it takes.

Task types

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "TurnstileTask",
    "websiteURL": "https://example.com/login",
    "websiteKey": "0x4AAAAAAA..."
  }
}

Response

createTask response fields
FieldTypeDescription
errorId Requirednumber0 when the task was created.
taskId RequiredstringPass this to getTaskResult to fetch the token.
JSON
{
  "errorId": 0,
  "taskId": "b1f2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
}

The task starts solving as soon as it is created. Wait about a second, then poll getTaskResult.

Common errors

  • ERROR_KEY_DOES_NOT_EXIST: the clientKey is wrong.
  • ERROR_ZERO_BALANCE: top up your balance and try again.
  • ERROR_TASK_NOT_SUPPORTED: task.type is misspelled or unsupported.
  • ERROR_INVALID_TASK_DATA: a required task field is missing or malformed.

See Errors for the full list.