Reference / Examples
Examples
Create a task, poll the result, and submit the token. Replace every uppercase placeholder.
Flow
- Call createTask once and keep the returned taskId.
- Poll getTaskResult until status is ready or failed.
- Submit solution.token before it expires.
Replace each uppercase placeholder. The examples create a task and poll its result; no solved token or real task ID is shown.
Code examples
createTask → getTaskResult
curl -sS https://api.solvemoor.com/createTask \
-H "Content-Type: application/json" \
-d '{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "PopularCaptchaToken",
"websiteURL": "https://YOUR-TARGET-PAGE",
"websiteKey": "YOUR_SITE_KEY",
"proxy": "http://USER:PASS@HOST:PORT"
}
}'Placeholders only: YOUR_API_KEY, YOUR_SITE_KEY, and <task-id>. No solved token is shown.
Integration notes
No callback
The API does not call your server. createTask returns a taskId; poll getTaskResult with that ID until status is ready or failed. A failed task is still HTTP 200 with errorId 1.
The cURL tab creates the task. The Python and Node tabs create it and poll getTaskResult.