# List webhook deliveries

Source: https://ampost.io/docs/api/webhooks-deliveries-list · Full reference: https://ampost.io/llms-full.txt

`GET /api/webhooks/endpoints/{webhookId}/deliveries` · MCP tool `webhooks_deliveries_list` · scope `webhooks:write` · rate limit `apiRead` · success `200`

The webhook's delivery log, newest first: each event sent, its status, attempts, and the last response code and body. Kept for 30 days. Use it to see what failed and why, then resend a delivery with webhooks_redeliver and its `id`. Paginated with `limit` and `offset`. 404 WEBHOOK_NOT_FOUND for an id that is not yours. Webhooks see every platform set, so keys restricted to some sets get 403 PLATFORM_SET_NOT_ALLOWED.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `webhookId` | path | string | yes | Webhook id (UUID): `id` from webhooks_list or webhooks_create |
| `limit` | query | integer | no | Page size, 1-100. Default 20. |
| `offset` | query | integer | no | Number of items to skip. Default 0. |

Example response:

```json
{
  "data": [
    {
      "id": "6b2d8f4a-1c3e-4a5b-9d7f-2e4c6a8b0d13",
      "webhookId": "d3a7c1e9-5b2f-4a8d-9e6c-7f1b3d5a9c21",
      "eventId": "2c8e4a6f-1b3d-4f5a-9e7c-8d2b4f6a1c35",
      "eventType": "post.published",
      "status": "pending",
      "attempts": 2,
      "maxAttempts": 8,
      "nextAttemptAt": "2026-10-08T15:06:30.000Z",
      "lastAttemptAt": "2026-10-08T15:01:30.000Z",
      "responseStatus": 500,
      "responseBody": "Internal Server Error",
      "error": "HTTP 500; only 2xx counts as delivered",
      "durationMs": 132,
      "redeliveryOf": null,
      "payload": {
        "id": "2c8e4a6f-1b3d-4f5a-9e7c-8d2b4f6a1c35",
        "type": "post.published",
        "createdAt": "2026-10-08T15:00:00.000Z",
        "data": {
          "post": {
            "id": "7f1c2a9e-4b1d-4c55-9a0e-2f6d8b3c1a10",
            "status": "published",
            "metadata": {
              "campaignId": "launch-2026"
            }
          }
        }
      },
      "createdAt": "2026-10-08T15:00:00.000Z"
    },
    {
      "id": "9f4b2e6d-8a1c-4d3e-b5f7-3c9a1e7d5b02",
      "webhookId": "d3a7c1e9-5b2f-4a8d-9e6c-7f1b3d5a9c21",
      "eventId": "2c8e4a6f-1b3d-4f5a-9e7c-8d2b4f6a1c35",
      "eventType": "post.published",
      "status": "succeeded",
      "attempts": 1,
      "maxAttempts": 8,
      "nextAttemptAt": null,
      "lastAttemptAt": "2026-10-08T15:00:01.000Z",
      "responseStatus": 200,
      "responseBody": "ok",
      "error": null,
      "durationMs": 84,
      "redeliveryOf": null,
      "payload": {
        "id": "2c8e4a6f-1b3d-4f5a-9e7c-8d2b4f6a1c35",
        "type": "post.published",
        "createdAt": "2026-10-08T15:00:00.000Z",
        "data": {
          "post": {
            "id": "7f1c2a9e-4b1d-4c55-9a0e-2f6d8b3c1a10",
            "status": "published",
            "metadata": {
              "campaignId": "launch-2026"
            }
          }
        }
      },
      "createdAt": "2026-10-08T15:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 20,
    "offset": 0,
    "total": 2,
    "hasMore": false
  }
}
```
