cherami.
API referenceWebhooks

List delivery attempts

GET /v1/webhooks/{webhook_id}/attempts

Read as Markdown ↗

GET /v1/webhooks/{webhook_id}/attempts

Requires an API key: Authorization: Bearer YOUR_CREDENTIAL.

Lists delivery attempts to this webhook, newest first, with the event each carried. A webhook whose attempts keep failing is disabled until you re-enable it.

Parameters

ParameterLocationRequiredTypeMeaning
webhook_idpathYesstringCherami resource ID returned by the API.
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/WEBHOOK_ID/attempts" \
  --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.

WebhookAttemptList

{
  "webhook_id": "55555555-5555-4555-8555-555555555555",
  "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"
    }
  ],
  "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 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

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

FieldRequiredTypeMeaning and constraints
webhook_idYesstringCherami resource ID.
attemptsYesarray of WebhookAttempt
next_cursorYesstring or null

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.

FieldRequiredTypeMeaning and constraints
idYesstringAttempt ID.
webhook_idYesstring or null
event_idYesstring or null
event_typeYesWebhookEventType or null
statusYes"success" or "pending" or "sending" or "failed" or "canceled"
triggerYes"scheduled" or "manual"
response_status_codeYesintegerZero when no HTTP response was obtained. minimum: 0
response_duration_msYesintegerminimum: 0
response_snippetYesstringStart of the receiver's response body, as plain text. maxLength: 200
response_truncatedYesboolean
attempted_atYesstringformat: date-time

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