Webhooks

Get webhook delivery statistics

Returns aggregate pending, delivered, exhausted, and cancelled delivery counts for a webhook endpoint over its whole retained history, plus the same counts per organization-local calendar day between after and before, a window of at most 90 days that defaults to the last 30 days. Deliveries are retained for 90 days, so the longest window is the whole history.

get/v1/webhooks/{id}/stats

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/webhooks/{id}/stats
  • Auth: API key in header x-api-key

Path parameters

idstring required

Query parameters

afterstring nullable
beforestring nullable

Response

WebhookStatsResponse

totalinteger required
pendinginteger required
deliveredinteger required
exhaustedinteger required
cancelledinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.