Skip to main content

List Deliveries

GET/v1/webhook-endpoints/{id}/deliveries

List an endpoint's delivery records, newest first, with cursor pagination. Event content is not included.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
idpathYesstringThe callback endpoint ID, whe_...
statusqueryNopending / queued / delivered / failedReturn only deliveries in this status. Any other value returns 400 rather than being ignored
limitqueryNointeger, 1–100Page size, default 50. Out of range returns 400
beforequeryNostringThe nextCursor from the previous page
curl "https://api.bluehola.com/v1/webhook-endpoints/whe_123/deliveries?status=failed&limit=20" \
-H "Authorization: Bearer <API_KEY>"

Response​

StatusDescription
200OK
4xxClient error

200 response schema​

{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"endpointId": {
"type": "string"
},
"eventId": {
"type": [
"string",
"null"
]
},
"eventType": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"pending",
"queued",
"delivered",
"failed"
]
},
"attempts": {
"type": "integer"
},
"responseStatus": {
"type": [
"integer",
"null"
]
},
"responseBodyPreview": {
"type": [
"string",
"null"
]
},
"lastError": {
"type": [
"string",
"null"
]
},
"nextRetryAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"redeliveredFrom": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"completedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
}
}

For the common error envelope and how to handle it, see Error Codes.

Response fields​

FieldMeaning
items[].idDelivery ID, wd_...
items[].endpointIdThe endpoint this delivery was sent to
items[].eventIdThe evt_... ID of a platform event; null for Meta-shaped events (message / status / change)
items[].eventTypeThe event type, the same value as X-Webhook-Event
items[].statuspending / queued: not finished yet, including deliveries waiting for their next retry. delivered: your endpoint returned 2xx. failed: a final failure — a non-retryable 4xx, or all 8 attempts used up
items[].attemptsAttempts made so far
items[].responseStatusThe HTTP status your endpoint returned on the last attempt; null if no response was received
items[].responseBodyPreviewA truncated excerpt of your endpoint's response body
items[].lastErrorThe latest error, such as a timeout or connection failure
items[].nextRetryAtWhen the next automatic retry is scheduled; null when none is
items[].redeliveredFromFor a manual redelivery, the ID of the original delivery; otherwise null
items[].createdAt / completedAtWhen the delivery was created and when it finished (null while unfinished)
nextCursorPass it as before for the next page; null means there are no more

Notes​

The list does not include the event payload. To get an event's content back, redeliver that delivery.

This is the place to look when List Endpoints shows a failed lastDelivery: filter with status=failed to find the events your endpoint missed. A customer Key can only read the deliveries of endpoints that belong to its customer entity.