---
title: "List webhook deliveries"
method: GET
path: "/webhooks/deliveries"
tags: ["Webhooks"]
---

# List webhook deliveries

`GET /webhooks/deliveries`

## Request

- Base URL: `https://api.rizamo.com/v1`
- URL: `https://api.rizamo.com/v1/webhooks/deliveries`
- Auth: HTTP bearer

Each event (and test) sent to an endpoint, newest first, with every attempt, from the last 30 days. A page at a time: pass `nextCursor` as `cursor` for the next one. Only deliveries of endpoints the caller sees; someone limited to some profiles sees only their profiles' events among them, and tests. Each payload is an event as `List events` shows it, so `webhooks:read` reads what `events:read` reads: the inbox's and comment automations' deliveries only with `inbox:read` or `automations:read` too.

## Query parameters

- `endpointId` string: Only deliveries to this endpoint (`wh_`).
- `status` 'pending' | 'retrying' | 'delivered' | 'failed': pending: not tried yet. retrying: tried, and tried again at `nextAttemptAt`. delivered: an attempt got a 2xx. failed: Rizamo stopped trying (all retries used, a 410, an address it does not send to, the endpoint disabled or no longer taking the event, or a delivery it could not prepare).
- `limit` integer: How many to return, up to 100: 50 when left out.
- `cursor` string: `nextCursor` from the page before.

## Response `200`

OK

- object
  - `items` WebhookDelivery[], required
    - `id` string, required
    - `endpointId` string, required
    - `eventId` string, nullable, required: The event it carries, as `List events` gives it and as `webhook-id` names it. Null for a test.
    - `event` union, required: The event's type, or webhook.test for a test.
      - 'post.created' | 'post.updated' | 'post.scheduled' | 'post.unscheduled' | 'post.published' | 'post.failed' | 'post.deleted' | 'post.restored' | 'post.target.published' | 'post.target.failed' | 'post.target.updated' | 'post.target.deleted' | 'comment.received' | 'message.received' | 'message.sent' | 'comment_automation.sent' | 'comment_automation.failed' | 'comment_automation.paused' | 'account.connected' | 'account.disconnected' | 'account.updated' | 'account.removed'
      - 'webhook.test'
    - `status` 'pending' | 'retrying' | 'delivered' | 'failed', required: pending: not tried yet. retrying: tried, and tried again at `nextAttemptAt`. delivered: an attempt got a 2xx. failed: Rizamo stopped trying (all retries used, a 410, an address it does not send to, the endpoint disabled or no longer taking the event, or a delivery it could not prepare).
    - `attempts` WebhookAttempt[], required: Oldest first.
      - `number` integer, required: 1 for the first try.
      - `at` string, date-time, required
      - `responseCode` integer, nullable, required: The endpoint's HTTP status. Null when it did not answer.
      - `durationMs` integer, required
      - `error` 'timeout' | 'unreachable' | 'unsafe_address' | 'redirect' | 'status' | 'endpoint_disabled' | 'endpoint_changed' | 'internal', nullable, required: Null when delivered. timeout: no answer in time. unreachable: the address could not be reached (DNS, connection, TLS). unsafe_address: Rizamo does not send to it (not https, a private or local address, rizamo.com or workers.dev), so it does not retry. redirect: the endpoint answered a redirect, which Rizamo does not follow. status: it answered anything but 2xx. Not sent, and not tried again: endpoint_disabled, the endpoint was disabled meanwhile; endpoint_changed, it no longer takes this event's type or profile (its own, or its person's access, changed); internal, Rizamo could not prepare the delivery.
    - `nextAttemptAt` string, date-time, nullable, required
    - `held` boolean, required: Waiting for its endpoint to answer again (`breaker` open), with no time set: it goes once an attempt to the endpoint is delivered, or as the breaker's next try.
    - `deliveredAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
    - `payload` string, nullable, required: The body as sent, JSON: the event as `List events` gives it. Null until the first attempt.
  - `nextCursor` string, nullable, required: Null on the last page.

## Other responses

- `400`: `invalid_request`: A field is missing or wrong, or the request cannot be done as asked: the message names the field or says what to change.
- `401`: `unauthorized`: No API key or sign-in, or the key does not work: it was deleted, or it expired.
- `403`: `forbidden`: The caller may not do this: the key or agent lacks the scope (the message names it), or the action needs another role or a fresh sign-in.
- `429`: `rate_limited`: Over one of Rizamo's limits, or a network asked Rizamo to slow down: wait for `Retry-After` seconds, or as long as the message says.
- `500`: `internal`: Our side failed: retry, and send the `requestId` if it keeps failing.
- `503`: `timeout`: The request took too long to work out, most often a report: try again in a moment, or ask a report for a shorter period or one profile.

---

[API](https://skmtc.dev/rizamo/apis/rizamo-api.md) - [All operations](https://skmtc.dev/rizamo/apis/rizamo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rizamo/apis/rizamo-api/revisions/31b0c1b1ffb5?raw)
