Skip to Content
Won.dev

List webhook deliveries

The latest deliveries to a webhook, with what your server answered. Free.

GET https://api.won.dev/v1/webhooks/{id}/deliveries

The latest deliveries to a webhook, newest first, with what your server answered. For finding out why events do not arrive. Free.

  • Billing: Free.

Parameters

id is part of the path. The others go in the query string, lists comma-separated.

ParameterTypeRequiredDescription
idstringyesWebhook ID, such as whk_2m9x7p1q8w3e5r4k.
limitintegernoHow many to return, 1 to 100. Default: 25.

Response

Errors are described in Errors.

FieldTypeDescription
dataobject[]
data[].event_idstring
data[].event_typestring
data[].statuspending | delivered | failedpending is waiting for its next attempt. failed was given up after eight.
data[].attemptsinteger
data[].response_statusinteger | nullThe HTTP status your server answered with.
data[].duration_msinteger | null
data[].errorstring | nullWhat went wrong, when no 2xx came.
data[].next_attempt_atstring | null
data[].created_atstring
data[].delivered_atstring | null
noticestring | nullA plain sentence when there is something to know about this answer. Null otherwise.
usageobjectNothing is charged here. The balance, for reference.
usage.costnumberWhat this call cost, in US dollars.
usage.balancenumberThe balance left after this call, in US dollars.
usage.replayedbooleanTrue when this is a repeat of a request from the last 24 hours. Repeats are free.

Example

curl "https://api.won.dev/v1/webhooks/whk_2m9x7p1q8w3e5r4k/deliveries?limit=1" \
  -H "Authorization: Bearer $WON_API_KEY"
{
  "data": [
    {
      "event_id": "evt_5r4k2m9x7p1q8w3e",
      "event_type": "reply.received",
      "status": "delivered",
      "attempts": 1,
      "response_status": 200,
      "duration_ms": 184,
      "error": null,
      "next_attempt_at": null,
      "created_at": "2026-11-20T13:44:10.000Z",
      "delivered_at": "2026-11-20T13:44:41.000Z"
    }
  ],
  "notice": null,
  "usage": {
    "cost": 0,
    "balance": 48.08,
    "replayed": false
  }
}

A test key (won_test_...) runs this in the sandbox: nothing is sent and nothing is charged.

On this page