**POST** `https://api.captchasonic.com/getTaskResult`

Ayrıca `GET /getTaskResult` ve `GET /getResponse` olarak da kullanılabilir.

## İstek gövdesi

| Alan | Tür | Açıklama |
|---|---|---|
| `apiKey` | `string` | [dashboard](https://captchasonic.com/app) üzerinden aldığınız API anahtarınız. |
| `taskId` | `string` | [`createTask`](/docs/start/create-task) tarafından döndürülen `taskId`. |

```json
{
  "apiKey": "sonic_xxxxxxxxxxxxxxxxxxxxxxxx",
  "taskId": "FgIcYXBtKR6E"
}
```

## Yanıt

Görev hâlâ çözülürken, görevi mevcut `status` değeriyle birlikte geri alırsınız:

```json
{
  "errorId": 0,
  "status": "idle",
  "taskId": "FgIcYXBtKR6E"
}
```

Her 1–2 saniyede bir sorgulamaya devam edin. Görev bittiğinde yanıt, o CAPTCHA türüne ait çözümü içerir; tam alanlar için CAPTCHA'ya özel sayfalara bakın.

## Örnek

  
**cURL**

```bash
curl -s https://api.captchasonic.com/getTaskResult \
  -H 'content-type: application/json' \
  -d '{"apiKey":"sonic_xxx","taskId":"FgIcYXBtKR6E"}'
```
  
  
**JavaScript**

```js
const res = await fetch("https://api.captchasonic.com/getTaskResult", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ apiKey: "sonic_xxx", taskId }),
});
const result = await res.json();
```
  
  
**Python**

```python
r = requests.post("https://api.captchasonic.com/getTaskResult",
                  json={"apiKey": "sonic_xxx", "taskId": task_id})
result = r.json()
```
