listAllDeliveries(id: string, options?: DeliveryListOptions): Promise<Array<WebhookDeliveryResource>>Walks every page of one endpoint delivery log and resolves with a flat array. Unlike the endpoint list, this collection has no small cap: a busy endpoint accumulates deliveries indefinitely, so narrow with options.status or reach for iterateDeliveries when you only need the first few matches.
The pagination envelope is dropped, so totalCount is gone. responseBody is absent from every row here as well, exactly as in listDeliveries.
Example
const failed = await envless.webhooks.listAllDeliveries('0194f2b1-9c3a-7c21-8f0e-2b6d4a1c5e90', { status: 'failed' })
for (const delivery of failed) {
await envless.webhooks.redeliver(delivery.webhookId, delivery.id)
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Endpoint id whose delivery log is walked. |
options.status | string | No | Restricts the walk to one delivery state such as failed. |
options.limit | number | No | Page size used while walking, capped at 100 and defaulting to 100. |
options.offset | number | No | Row the walk starts from, so newer deliveries are left out of the result. |
options.signal | AbortSignal | No | Cancels every request in the walk. |
Returns
Array<WebhookDeliveryResource> holding each matching delivery attempt for the endpoint.
Reads the deliveries collection. list returns one page as { items, pagination }, listAll collects every page into an array, and iterate streams one item at a time without buffering the whole set.
Worth knowing
- Every page is a separate read, so a delivery that retried mid walk can land in the array with a stale
status. - A failure on any page rejects the whole call and the rows already collected are lost.
Required scopes
webhooks:read
Underlying endpoint
GET /webhooks/{id}/deliveries
Request and response schema, every error code, and a live playground.
In Python
envless.webhooks.list_all_deliveries()
The same method in envless-sdk, the Python SDK, with the same request, retries and errors.
In Ruby
Envless.webhooks.list_all_deliveries
The same method in envless-sdk, the Ruby gem, with the same request, retries and errors.
In PHP
$envless->webhooks->listAllDeliveries()
The same method in envless/sdk, the PHP SDK, with the same request, retries and errors.