Get webhook delivery statistics

Returns aggregate statistics on webhook deliveries including success rate and hourly breakdown.

Authentication

AuthorizationBearer

Send as Authorization: Bearer <your-key>. Obtain keys from the portal — prefix sk_live_ for production, sk_test_ for sandbox.

Query parameters

line_idstringOptionalformat: "uuid"
Filter by line ID

Response

Webhook statistics
totalinteger
Total deliveries
successinteger
Successful deliveries
failedinteger
Failed deliveries
successRatedouble

Success rate as a decimal (0-1)

byEventTypemap from strings to integers
Delivery counts grouped by event type
byHourlist of objects
Delivery counts by hour for the last 24 hours

Errors

401
Unauthorized Error