Skip to main content
GET
Returns one rollup of webhook delivery activity across every endpoint on the account, over a window you choose. period_days sizes that window, up to 90 days, and tz_offset_minutes lines the day buckets up with your own day rather than UTC. A delivery counts as failed once its status is failed or dead, and an account with no endpoints yet answers with zero counts and an empty by_endpoint.

Authorizations

x-api-key
string
header
required

API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys

Query Parameters

period_days
integer
default:7

How many days back the rollup reaches, covering the totals, the daily counts, and the per endpoint breakdown.

Required range: 1 <= x <= 90
tz_offset_minutes
integer
default:0

Minutes to shift the daily buckets from UTC, so counts line up with your local day.

Response

200 - application/json

Successful Response

Delivery rollup covering every endpoint you own, for the window you asked for.

global
WebhookOverviewTotals · object
required

Combined counts for the window, together with the day by day series.

by_endpoint
object
required

Counts for each endpoint you own, keyed by its id.