Hanzo
OpenapiWebhook

Returns one endpoint's per-attempt delivery log, newest first — the record of…

Returns one endpoint's per-attempt delivery log, newest first — the record of what was sent, what the subscriber answered, and how long it took.

GET /v1/webhook/{id}/deliveries

Addresshttps://api.hanzo.ai/v1/webhook/{id}/deliveries
MethodGET
Operationget_webhook_by_id_deliveries
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one endpoint's per-attempt delivery log, newest first — the record of what was sent, what the subscriber answered, and how long it took. One event that retried three times appears as three rows sharing a delivery id. It is org-scoped exactly like every other route here: the endpoint lookup only ever finds THIS org's endpoint, so another org's id is a 404 and never a window onto its logs.

Request

3 fields.

FieldInTypeRequiredDescription
idpathstringyes
limitqueryintegerLimit caps how many attempts come back: default 50, maximum 200.
statusquerystringStatus narrows the log to one outcome: "ok", "retrying" or "failed".

Response

StatusBodyMeaning
200deliveryListok

200 body — 10 fields.

FieldInTypeAlwaysDescription
databodyDeliveryRow[]Data is the matching attempts, newest first.
data[].attemptbodyintegerAttempt is which try this row is, starting at 1.
data[].createdbodystringCreated is when the attempt was made, RFC3339 in UTC.
data[].deliverybodystringDeliveryID groups the attempts for ONE event to ONE endpoint.
data[].durationMsbodyintegerDurationMs is how long this attempt took end to end, in MILLISECONDS.
data[].endpointbodystringEndpointID is which subscriber this attempt was for.
data[].errorbodystringError says what went wrong on a non-ok attempt.
data[].httpStatusbodyintegerHTTPStatus is what the subscriber answered.
data[].statusbodystringStatus is "ok" when the subscriber accepted it, "retrying" while a further attempt will follow, and "failed" when none will.
data[].subjectbodystringSubject is the event that was delivered ("commerce.order.created").

Failure carries the platform error shape — see Errors.

Examples

hanzo webhooks deliveries <id>

Webhook API · All Hanzo APIs · Interactive reference

How is this guide?

On this page