GET/api/v1/webhooks/{uuid}/deliveries

List webhook deliveries

Returns a paginated list of delivery attempts for the specified webhook endpoint. Each record summarizes the event type, outcome, response code, and timing of a single delivery attempt. Use the get delivery endpoint to inspect the full request and response payload for any entry.

GET /api/v1/webhooks/{uuid}/deliveries

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication
X-CompanystringYesCompany UUID to scope the request

Path parameters

NameTypeRequiredDescription
uuidstringYesWebhook endpoint UUID

Query parameters

NameTypeDefaultDescription
pageinteger1Page number for pagination
limitinteger20Number of items per page (max 100)
statusstring-Filter by delivery status: success or failed
eventTypestring-Filter by event type name (e.g., invoice.validated)
fromstring-Start date filter (ISO 8601 format: YYYY-MM-DD)
tostring-End date filter (ISO 8601 format: YYYY-MM-DD)

Request

curl "https://api.storno.ro/api/v1/webhooks/a1b2c3d4-e5f6-7890-abcd-ef1234567890/deliveries?page=1&limit=20&status=failed" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "X-Company: 550e8400-e29b-41d4-a716-446655440000"

Response

Returns a paginated list of delivery attempt summaries.

{
  "data": [
    {
      "uuid": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "eventType": "invoice.validated",
      "status": "failed",
      "responseCode": 503,
      "durationMs": 5002,
      "deliveredAt": "2026-02-18T09:45:00Z",
      "attempt": 1
    },
    {
      "uuid": "d4e5f6a7-b8c9-0123-def0-234567890123",
      "eventType": "invoice.created",
      "status": "success",
      "responseCode": 200,
      "durationMs": 87,
      "deliveredAt": "2026-02-18T08:30:00Z",
      "attempt": 1
    },
    {
      "uuid": "e5f6a7b8-c9d0-1234-ef01-345678901234",
      "eventType": "invoice.paid",
      "status": "success",
      "responseCode": 204,
      "durationMs": 112,
      "deliveredAt": "2026-02-17T16:00:00Z",
      "attempt": 1
    }
  ],
  "total": 142,
  "page": 1,
  "limit": 20,
  "pages": 8
}

Pagination fields

FieldTypeDescription
dataarrayArray of delivery summary objects
totalintegerTotal number of delivery attempts matching the filters
pageintegerCurrent page number
limitintegerItems per page
pagesintegerTotal number of pages

Delivery summary fields

FieldTypeDescription
uuidstringUnique delivery attempt identifier
eventTypestringThe event type that triggered this delivery
statusstringOutcome: success (2xx response) or failed (timeout or non-2xx)
responseCodeintegerHTTP status code returned by your endpoint, or 0 on timeout
durationMsintegerRound-trip time in milliseconds
deliveredAtstringISO 8601 timestamp when the delivery was attempted
attemptintegerAttempt number (1 for initial, higher for retries)

Error codes

CodeDescription
401Missing or invalid authentication token
403Insufficient permissions — requires webhook.view permission
404Webhook endpoint not found for this company
422Invalid query parameter value
  • Get delivery — Inspect the full payload and response for a single delivery
  • Test webhook — Trigger a new test delivery