Skip to main content
GET
/
webhooks
/
stats
Get Webhook Stats
curl --request GET \
  --url https://access.utgl.io/v1/webhooks/stats \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "healthy",
    "queuedMessages": 123,
    "lastSuccessfulDeliveryTime": "2023-11-07T05:31:56Z",
    "lastFailedDeliveryTime": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

webhookId
string

id of the webhook

Response

200 - application/json

Webhook Statistics

id
string<uuid>
required

Webhook ID

status
enum<string>
required
Available options:
healthy,
unhealthy,
suspended,
deleted
queuedMessages
number
required

Number of messages queued for delivery

lastSuccessfulDeliveryTime
string<date-time>
required

Date/Time of last successful delivery in ISO8601 format

lastFailedDeliveryTime
string<date-time>
required

Date/Time of last failed delivery in ISO8601 format