Delivery log
GET/v1/webhooks/{id}/deliveries
scope webhooks.manage
What happened to every event we sent you — the answer to "we never got the order".
Query parameters#
| Name | Example | |
|---|---|---|
status | — | pending | delivered | failed | abandoned |
Response#
| Field | Type | Description |
|---|---|---|
count | integer | How many deliveries in this page. |
data | array | What we tried to send to this endpoint, newest first. This is where to look when your receiver did not get something. |
data[]. | integer | The delivery id, for POST /v1/webhooks/deliveries/{deliveryId}/replay. |
data[]. | string | Which event it carried. |
data[]. | string | A stable id for the EVENT itself. The same event to two endpoints shares it, and a replay keeps it — so use it to make your handler idempotent rather than the delivery id. |
data[]. | string | delivered is a 2xx from your server. pending means it is queued or waiting on a backoff. failed means every retry was used up.Accepts |
data[]. | integer | How many times we have tried. Retries back off at 1, 5, 30, 120, 360 and 1440 minutes, then stop — a struggling server is not worth hammering. |
data[]. | integer|null | The HTTP status your server returned, or null if it could not be reached at all. The two are worth telling apart. |
Example
{
"count": 1,
"data": [
{
"id": 3,
"event": "order.created",
"event_id": "evt_vlvslhcxut3gj4oikfnqyf7n",
"status": "delivered",
"attempts": 1,
"response_status": 200
}
]
}