ReferenceWebhooks

List webhook deliveries

List the recent deliveries of an endpoint and how each attempt went.

POST
/duranta.api.public.v1.WebhookService/ListWebhookDeliveries

Authorization

Authorizationheaderrequired

Bearer token with the sites:scan scope. You get it in exchange for an API key: see Authentication, or press Try in Playground, which takes your key and gets the token for you.

Request body

application/json
  1. body
endpointId*string

The id of the endpoint. At most 64 bytes.

pageSize?integer

Up to 100 deliveries per page, 50 when not set.

Formatint32
Range0 <= value <= 100
pageToken?string

The nextPageToken from the previous page. At most 1024 bytes.

Response

Success

application/json
  1. response
deliveries?array<>

Newest first. Deliveries are kept for 30 days.

nextPageToken?string

Pass as pageToken to get the next page. Empty on the last page.

List webhook deliveries
curl -X POST \  'https://app.getduranta.com/duranta.api.public.v1.WebhookService/ListWebhookDeliveries' \  -H 'Content-Type: application/json' \  -d '{  "endpointId": "string"}'
Response
{  "deliveries": [    {      "eventId": "string",      "eventType": "WEBHOOK_EVENT_TYPE_SITE_STATUS_CHANGE",      "status": "WEBHOOK_DELIVERY_STATUS_PENDING",      "attempts": 0,      "lastHttpStatus": 0,      "lastError": "string",      "createdAt": "2023-01-15T01:30:15.01Z",      "finishedAt": "2023-01-15T01:30:15.01Z"    }  ],  "nextPageToken": "string"}