cherami.
API referenceWebhooks

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

ParameterLocationRequiredTypeMeaning
limitqueryNointegerResults per page. minimum: 1 maximum: 100 default: 20
cursorqueryNostringnext_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.

WebhookEventList

{
  "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.

Error

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.

Error

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: WebhookEventList

FieldRequiredTypeMeaning and constraints
eventsYesarray of WebhookEvent
next_cursorYesstring or null

Schema: WebhookEvent

FieldRequiredTypeMeaning and constraints
idYesstringEvent ID, the same as the delivered payload's id. Deduplicate on it.
typeYesWebhookEventType
accepted_atYesstringWhen the event was handed to delivery; the payload's timestamp is when the mail event happened. format: date-time
inbox_idYesstring or null
message_idYesstring 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

FieldRequiredTypeMeaning and constraints
errorYesobject

error fields

FieldRequiredTypeMeaning and constraints
codeYesstringCode to handle. Handle a code you don't recognize by its HTTP status.
messageYesstringExplanation of this case; its wording can change.

Errors, limits and pagination · Download OpenAPI 3.1

On this page