List recent events
GET /v1/webhooks/events
Read as Markdown ↗GET /v1/webhooks/events
Requires an API key: Authorization: Bearer YOUR_CREDENTIAL.
Lists the account's recent events, newest first, across all its webhooks: event ID, type, time and the inbox and message IDs the payload carries. Use it to confirm that mail activity produced an event before checking a webhook's attempts, or to find an event your receiver has no record of. An account that has never had a webhook has none.
Parameters
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
limit | query | No | integer | Results per page. minimum: 1 maximum: 100 default: 20 |
cursor | query | No | string | next_cursor from the previous page of the same listing. |
curl example
Supply CHERAMI_API_KEY privately.
curl --silent --show-error --include --request GET \
"https://cherami.to/v1/webhooks/events" \
--header "Authorization: Bearer $CHERAMI_API_KEY"Responses
HTTP 200
Success.
X-Request-ID: Identifies this request; include it when reporting a problem.
Content type: application/json.
{
"events": [
{
"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"
}
],
"next_cursor": null
}HTTP 400
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.
HTTP 401
unauthorized: Send a valid API key as Authorization: Bearer <key>. If the key stopped working, get a new one through recovery.
X-Request-ID: Identifies this request; include it when reporting a problem.WWW-Authenticate:"Bearer"
Content type: application/json.
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.
Schema: WebhookEventList
| Field | Required | Type | Meaning and constraints |
|---|---|---|---|
events | Yes | array of WebhookEvent | |
next_cursor | Yes | string or null |
Schema: WebhookEvent
| 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 | |
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 |
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: Error
| Field | Required | Type | Meaning and constraints |
|---|---|---|---|
error | Yes | object |
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. |