# Read the delivery history of an endpoint (/api/listWebhookDeliveries)

One row per attempt, newest first. The payload we sent is not
included — it can carry message text, and this list is here to answer
"why did it fail".

Endpoint: GET /api/v1/webhooks/{id}/deliveries
Full URL: https://app.sendkuy.com/api/v1/webhooks/{id}/deliveries
- path parameter id (required): string — The prefixed id of the object.
- query parameter starting_after (optional): string — The `meta.next_cursor` from the previous page.
- query parameter limit (optional): integer, 1–100 — Rows per page. Defaults to 20, capped at 100.
Success status: 200

cURL:

```bash
curl -X GET https://app.sendkuy.com/api/v1/webhooks/whk_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3/deliveries \
  -H "Authorization: Bearer sk_live_YOUR_API_KEY"
```

Node.js:

```ts
import { SendKuy } from 'sendkuy';

const sendkuy = new SendKuy('sk_live_YOUR_API_KEY');

const result = await sendkuy.webhooks.listDeliveries('whk_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3');
```

PHP:

```php
<?php

use SendKuy\SendKuy;

$sendkuy = new SendKuy('sk_live_YOUR_API_KEY');

$result = $sendkuy->webhooks()->listDeliveries('whk_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3');
```

Python:

```python
import requests

response = requests.request(
    "GET",
    "https://app.sendkuy.com/api/v1/webhooks/whk_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3/deliveries",
    headers={"Authorization": "Bearer sk_live_YOUR_API_KEY"},
)

data = response.json()["data"]
```