# webhooks.deliveries: Delivery log of a subscription (last 30 days).

`GET /v2/webhooks/{webhookId}/deliveries` · MCP tool `webhooks_deliveries` · [Webhooks](/v2/reference/webhooks/)

## What it does

Delivery log of a subscription (last 30 days).

## When to use it

Lists deliveries of this subscription, newest first, up to 100 per page: status, attempts, the last HTTP status and error, and when the next retry happens. Page back with cursor = next_cursor of the previous page.

## Permission and cost

| | |
| --- | --- |
| Permission | `webhooks:manage` |
| Effect | Read only: it never changes anything. |
| Cost class | `store` — costs 1 unit (reads the copy VENUZ keeps) |
| Scope | The accounts this key can use. |
| Page size | Up to 100 per page (`x-venuz-page-max`). |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `webhookId` | path | string (uuid) | yes | Id of the webhook, as returned by the operations that list them. |
| `cursor` | query | string, up to 512 characters | no | Opaque cursor from next_cursor of the previous page. Omit it for the first page. |
| `limit` | query | integer, 1 to 100, default 100 | no | Deliveries per page, 1 to 100. |

## Example request (test mode)

With a test key in `VENUZ_API_KEY` (`export VENUZ_API_KEY=vzk_test_…`), this request changes nothing: test keys answer from a sample dataset.

```bash
curl -X GET "https://open.venuz.ai/v2/webhooks/5b7e2c1a-9d4f-4e3b-a8c6-2f1e0d9c8b7a/deliveries" \
  -H "Authorization: Bearer $VENUZ_API_KEY"
```

## Example response (200)

```json
{
  "data": [
    {
      "id": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
      "event_id": "1f2e3d4c-5b6a-5978-8a9b-0c1d2e3f4a5b",
      "status": "succeeded",
      "attempts": 1,
      "next_attempt_at": "2026-09-28T12:00:00.000Z",
      "last_status_code": 200,
      "last_error": null,
      "last_attempt_at": "2026-09-28T12:00:01.000Z",
      "delivered_at": "2026-09-28T12:00:01.000Z",
      "created_at": "2026-09-28T12:00:00.000Z"
    }
  ],
  "subscription_health": {
    "state": "ok",
    "consecutive_failures": 0,
    "failing_started_at": null
  },
  "next_cursor": null
}
```

## Response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | array of object | yes |  |
| `data[].id` | string (uuid) | yes |  |
| `data[].event_id` | string (uuid) | yes | Same value as the webhook-id header of the event. |
| `data[].status` | one of "pending", "succeeded", "failed" | yes |  |
| `data[].attempts` | integer, at least 0 | yes |  |
| `data[].next_attempt_at` | string (date-time) | yes |  |
| `data[].last_status_code` | integer, or null | yes |  |
| `data[].last_error` | string, or null | yes |  |
| `data[].last_attempt_at` | string (date-time), or null | yes |  |
| `data[].delivered_at` | string (date-time), or null | yes |  |
| `data[].created_at` | string (date-time) | yes |  |
| `subscription_health` | object | yes |  |
| `subscription_health.state` | one of "ok", "failing", "paused_after_failures" | yes | ok = no alarm. failing = the receiver kept failing for hours (check it answers 2xx). paused_after_failures = VENUZ paused the subscription after about 48 hours of failures; fix the receiver and call webhooks.resume. |
| `subscription_health.consecutive_failures` | integer, at least 0 | yes |  |
| `subscription_health.failing_started_at` | string (date-time), or null | yes | When the current run of failures began. |
| `next_cursor` | string, or null | yes | Pass it as cursor to get the next page. Null when there are no more results. |

## Errors and what to do

Every error is `{ "error", "message", "fix", "docs_url", "request_id" }`. Branch on `error`; do what `fix` says.

| Error | HTTP | What to do |
| --- | --- | --- |
| [`invalid_request`](/errors/#invalid_request) | 400 | Correct the request, then retry. When details.invalid_fields is present, each entry names a field and what it needs (its message); when details.reason is present, it says what is wrong. The parameters and body of every operation are in the specification. |
| [`invalid_api_key`](/errors/#invalid_api_key) | 401 | Send a valid key as "Authorization: Bearer vzk_live_..." (or vzk_test_...). If you lost the key, ask the agency to create a new one. |
| [`api_key_expired`](/errors/#api_key_expired) | 401 | Ask the agency to rotate the key or create a new one. Keys last at most 366 days. |
| [`api_key_revoked`](/errors/#api_key_revoked) | 401 | Stop using this key. Ask the agency for a new one if you still need access. |
| [`api_key_suspended`](/errors/#api_key_suspended) | 403 | If details.reason is creator_withdrawn, ask the agency owner to create a new key from an active member of the team. If it is suspended_by_venuz, contact VENUZ support: the same key works again as soon as the suspension is lifted, so do not delete it. |
| [`agency_inactive`](/errors/#agency_inactive) | 403 | The agency's VENUZ account is suspended or closed; access resumes when it is active again. Do not delete the key. |
| [`api_not_enabled`](/errors/#api_not_enabled) | 403 | Ask VENUZ support to enable API access for the agency. Keep the key: it works as soon as access is enabled. |
| [`ip_not_allowed`](/errors/#ip_not_allowed) | 403 | Send the request from one of the addresses allowed on the key, or ask the agency to update the allowed addresses. |
| [`insufficient_scope`](/errors/#insufficient_scope) | 403 | Call GET /v2/whoami to see what this key can do. Ask the agency to grant the missing permission (listed in details.missing_scopes) or to use a key that has it. If details.withheld_by_creator is true, the key has the permission but the person who created it cannot do this in VENUZ today: they need the role permissions in details.creator_missing_permissions (when details.creator_needs is any_of, any one of them is enough), or the agency must use a key created by someone who has them. |
| [`webhook_not_found`](/errors/#webhook_not_found) | 404 | Call GET /v2/webhooks to list the subscriptions of this key and use one of their ids. |
| [`rate_limited`](/errors/#rate_limited) | 429 | Wait for the number of seconds in the Retry-After header, then retry. Spread requests out instead of retrying in a loop. Each request costs the units of its cost class (header X-Request-Cost: 1 for stored data, 2 for a realtime call to the OnlyFans account or a heavy query), and the RateLimit-* headers show how many units are left for this key and its agency in the current minute. |
| [`internal_error`](/errors/#internal_error) | 500 | Retry once after a few seconds; do not retry in a loop. If the request was a write, retry with the SAME Idempotency-Key, never a new one. If it keeps failing, contact VENUZ support and include the request_id. |
| [`api_halted`](/errors/#api_halted) | 503 | Wait for the number of seconds in the Retry-After header, then retry. Your key is still valid. |
| [`stored_data_unavailable`](/errors/#stored_data_unavailable) | 503 | Nothing was changed. Wait for the number of seconds in the Retry-After header, then retry once; do not retry in a loop. Narrowing the request (account_id or chat_id, a smaller limit) makes it lighter. If it keeps failing, contact VENUZ support with the request_id. |

VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.
