Get webhook quota

Return logical webhook delivery usage for the caller's active organization over a rolling window. A source event delivered to two matching webhooks counts as two logical deliveries. Retries and manual redeliveries do not add usage. `remaining` is never negative; ingestion continues if usage exceeds the included allowance. Requires the `webhooks.read` permission.

GET
/webhooks/quota
AuthorizationBearer <token>

The access token returned after a successful sign-in, sent as Authorization: Bearer <access_token>.

It identifies the person and the organization they are working in, and it lasts about fifteen minutes. When it runs out, use their refresh token at POST /auth/refresh-token instead of asking them to sign in again.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://api.dual.network/webhooks/quota"
{
  "used": 18423,
  "limit": 100000,
  "remaining": 81577,
  "window_seconds": 2592000
}

{
  "code": 16,
  "message": "no auth provided"
}

{
  "code": 13,
  "message": "internal error"
}