Skip to main content
GET
/
v1
/
webhook-endpoints
/
delivery-stats
Webhook delivery stats
curl --request GET \
  --url https://api.scrip.dev/v1/webhook-endpoints/delivery-stats \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "blocked_reason": "circuit_broken",
      "blocked_until": "2026-05-18T10:40:00Z",
      "circuit_broken_until": "2026-05-18T10:40:00Z",
      "degraded": false,
      "endpoint_id": "550e8400-e29b-41d4-a716-446655440000",
      "fail_24h": 3,
      "last_attempt_at": "2026-05-18T10:30:01Z",
      "oldest_pending_at": "2026-05-18T10:25:00Z",
      "pending_count": 0,
      "rate_limited_until": "2026-05-18T10:35:00Z",
      "status": "ACTIVE",
      "success_24h": 142,
      "success_rate": 0.9793,
      "url": "https://example.com/webhooks"
    }
  ]
}
Returns a per-endpoint delivery rollup for your organization. Use it to monitor 24-hour delivery health, current backlog, and why an endpoint is not currently receiving deliveries. Each row includes success_24h, fail_24h, success_rate, and degraded, plus backlog and pause fields such as pending_count, oldest_pending_at, circuit_broken_until, rate_limited_until, blocked_reason, and blocked_until.
For recovery behavior and block reasons, see the Webhooks guide — Endpoint Health.

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Response

Per-endpoint 24h delivery rollup

data
object[]