Get Token
Fetches a solved captcha token for the specified target.
POST /tokenRequest
json
{
"target": "EpicLogin"
}| Field | Type | Required | Description |
|---|---|---|---|
target | string | Yes | Target name (e.g. EpicLogin) |
Response
json
{
"ok": true,
"id": 42,
"token": "eg1~eyJraWQ...",
"cookie": "session=abc123",
"useragent": "Mozilla/5.0..."
}| Field | Description |
|---|---|
id | Token ID (for tracking) |
token | The solved captcha/auth token |
cookie | Session cookie (if available) |
useragent | User-Agent string (if available) |
Long-Polling
The request waits up to 60 seconds for a token to become available. If no token arrives within that time, it returns 404.
WARNING
Set your HTTP client timeout to at least 65 seconds.
Errors
| Status | Error | Description |
|---|---|---|
| 400 | target is required | Missing target field |
| 400 | Invalid or inactive target | Target doesn't exist or is disabled |
| 401 | Authorization required | No Bearer token |
| 402 | Insufficient balance | Not enough balance |
| 404 | No tokens available | Timeout — no tokens in 60 sec |
| 429 | Too many concurrent requests | Over concurrency limit |
