# Read one event's deliveries

GET /v1/webhooks/events/{event_id}

Source: https://cherami.to/docs/api/webhooks/get-webhook-event



{/* Generated from apps/web/openapi. Edit the contract, not this file. */}

`GET /v1/webhooks/events/{event_id}`

Requires an [API key](https://cherami.to/docs/api#authentication): `Authorization: Bearer YOUR_CREDENTIAL`.

Returns one event by its ID (the payload `id`), with every delivery attempt made for it across the account's webhooks, newest first. Use it when your receiver reports a missing or duplicate notification: the attempts show which webhooks were tried, when, and how each answered. Attempts to a webhook deleted since have a null `webhook_id`. A `404` means no recent event has this ID. Page through attempts with `limit`, `cursor` and `attempts_next_cursor`.

## Parameters [#parameters]

| Parameter  | Location | Required | Type    | Meaning                                                             |
| ---------- | -------- | -------- | ------- | ------------------------------------------------------------------- |
| `event_id` | path     | Yes      | string  | Event ID: a delivered payload's id, or one listed by recent events. |
| `limit`    | query    | No       | integer | Results per page. `minimum`: `1` `maximum`: `100` `default`: `20`   |
| `cursor`   | query    | No       | string  | attempts\_next\_cursor from the previous response for this event.   |

## curl example [#curl-example]

Supply `CHERAMI_API_KEY` privately.

```sh
curl --silent --show-error --include --request GET \
  "https://cherami.to/v1/webhooks/events/EVENT_ID" \
  --header "Authorization: Bearer $CHERAMI_API_KEY"
```

## Responses [#responses]

### HTTP 200 [#http-200]

Success.

* `X-Request-ID`: Identifies this request; include it when reporting a problem.

Content type: `application/json`.

[WebhookEventDetail](#schema-webhookeventdetail)

```json
{
  "id": "66666666-6666-4666-8666-666666666666",
  "type": "message.received",
  "accepted_at": "2026-10-01T00:00:00.500Z",
  "inbox_id": "11111111-1111-4111-8111-111111111111",
  "message_id": "22222222-2222-4222-8222-222222222222",
  "attempts": [
    {
      "id": "atmpt_EXAMPLE",
      "webhook_id": "55555555-5555-4555-8555-555555555555",
      "event_id": "66666666-6666-4666-8666-666666666666",
      "event_type": "message.received",
      "status": "success",
      "trigger": "scheduled",
      "response_status_code": 204,
      "response_duration_ms": 120,
      "response_snippet": "",
      "response_truncated": false,
      "attempted_at": "2026-10-01T00:00:01.000Z"
    }
  ],
  "attempts_next_cursor": null
}
```

### HTTP 400 [#http-400]

`invalid_webhook_event`: Use a Cherami event ID (a UUID): a delivered payload's `id`, or one listed by recent events.

`invalid_limit`: Use an integer from 1 to 100.

`invalid_cursor`: Send a cursor only to the listing, filters and order that returned it, or restart from the first page.

* `X-Request-ID`: Identifies this request; include it when reporting a problem.

Content type: `application/json`.

[Error](#schema-error)

### HTTP 401 [#http-401]

`unauthorized`: Send a valid API key as `Authorization: Bearer <key>`. If the key stopped working, get a new one through [recovery](https://cherami.to/docs/guides/recovery).

* `X-Request-ID`: Identifies this request; include it when reporting a problem.
* `WWW-Authenticate`: `"Bearer"`

Content type: `application/json`.

[Error](#schema-error)

### HTTP 404 [#http-404]

`not_found`: The resource does not exist or does not belong to this account. A reply or forward source must also be in the sending inbox.

* `X-Request-ID`: Identifies this request; include it when reporting a problem.

Content type: `application/json`.

[Error](#schema-error)

### HTTP 503 [#http-503]

`webhook_history_unavailable`: Delivery history could not be read. Retry later.

`webhooks_unavailable`: Webhook management failed. If it was a change, it may have been applied: list or read the webhooks before repeating it.

* `X-Request-ID`: Identifies this request; include it when reporting a problem.

Content type: `application/json`.

[Error](#schema-error)

## Schema: WebhookEventDetail [#schema-webhookeventdetail]

| Field                  | Required | Type                                              | Meaning and constraints                                                                                               |
| ---------------------- | -------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `id`                   | Yes      | string                                            | Event ID, the same as the delivered payload's id. Deduplicate on it.                                                  |
| `type`                 | Yes      | [WebhookEventType](#schema-webhookeventtype)      |                                                                                                                       |
| `accepted_at`          | Yes      | string                                            | When the event was handed to delivery; the payload's timestamp is when the mail event happened. `format`: `date-time` |
| `inbox_id`             | Yes      | string or null                                    |                                                                                                                       |
| `message_id`           | Yes      | string or null                                    |                                                                                                                       |
| `attempts`             | Yes      | array of [WebhookAttempt](#schema-webhookattempt) |                                                                                                                       |
| `attempts_next_cursor` | Yes      | string or null                                    |                                                                                                                       |

## Schema: WebhookEventType [#schema-webhookeventtype]

message.received: a received message is ready to read. message.sent: the provider accepted a sent message, which is not delivery.

`"message.received"` or `"message.sent"`

## Schema: WebhookAttempt [#schema-webhookattempt]

success: the receiver answered 2xx in time. failed: no timely 2xx; it is retried automatically. webhook\_id is null when that webhook has since been deleted.

| Field                  | Required | Type                                                                    | Meaning and constraints                                                  |
| ---------------------- | -------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| `id`                   | Yes      | string                                                                  | Attempt ID.                                                              |
| `webhook_id`           | Yes      | string or null                                                          |                                                                          |
| `event_id`             | Yes      | string or null                                                          |                                                                          |
| `event_type`           | Yes      | [WebhookEventType](#schema-webhookeventtype) or null                    |                                                                          |
| `status`               | Yes      | `"success"` or `"pending"` or `"sending"` or `"failed"` or `"canceled"` |                                                                          |
| `trigger`              | Yes      | `"scheduled"` or `"manual"`                                             |                                                                          |
| `response_status_code` | Yes      | integer                                                                 | Zero when no HTTP response was obtained. `minimum`: `0`                  |
| `response_duration_ms` | Yes      | integer                                                                 | `minimum`: `0`                                                           |
| `response_snippet`     | Yes      | string                                                                  | Start of the receiver's response body, as plain text. `maxLength`: `200` |
| `response_truncated`   | Yes      | boolean                                                                 |                                                                          |
| `attempted_at`         | Yes      | string                                                                  | `format`: `date-time`                                                    |

## Schema: Error [#schema-error]

| Field   | Required | Type   | Meaning and constraints |
| ------- | -------- | ------ | ----------------------- |
| `error` | Yes      | object |                         |

### `error` fields [#error-fields]

| Field     | Required | Type   | Meaning and constraints                                               |
| --------- | -------- | ------ | --------------------------------------------------------------------- |
| `code`    | Yes      | string | Code to handle. Handle a code you don't recognize by its HTTP status. |
| `message` | Yes      | string | Explanation of this case; its wording can change.                     |

[Errors, limits and pagination](https://cherami.to/docs/api/errors) · [Download OpenAPI 3.1](https://cherami.to/openapi.json)
