Skip to main content
GET
Get Webhook Subscription Stats

Path Parameters

portfolio_id
string
required
subscription_id
string
required

Query Parameters

period
enum<string>
Available options:
WEBHOOK_STATS_PERIOD_24H,
WEBHOOK_STATS_PERIOD_7D,
WEBHOOK_STATS_PERIOD_30D

Response

A successful response.

GetWebhookSubscriptionStatsResponse returns subscription health, delivery statistics, and recent failures.

subscription_id
string
health_status
enum<string>

WebhookHealthStatus describes the current delivery health of a subscription.

Available options:
WEBHOOK_HEALTH_STATUS_HEALTHY,
WEBHOOK_HEALTH_STATUS_DEGRADED,
WEBHOOK_HEALTH_STATUS_FAILING,
WEBHOOK_HEALTH_STATUS_DISABLED
total_events
string<int64>
successful
string<int64>
failed
string<int64>
success_rate
number<double>
avg_latency_ms
string<int64>
p95_latency_ms
string<int64>
p99_latency_ms
string<int64>
event_type_breakdown
object[]
recent_failures
object[]