Get webhook delivery statistics
Get webhook delivery statistics. View request and response details for this Samva email API endpoint.
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.
Authorization
apiKey x-api-key<token>
In: header
Path Parameters
id*string
Match
^wep_[0-9a-hjkmnp-tv-z]{16,24}$Query Parameters
after?string|null
before?string|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/webhooks/string/stats"{ "total": 0, "pending": 0, "delivered": 0, "exhausted": 0, "cancelled": 0, "daily": [ { "date": "string", "pending": 0, "delivered": 0, "exhausted": 0, "cancelled": 0 } ]}