Skip to content
Connect an agent

Webhooks

List deliveries

Recent deliveries to the endpoint, newest first, with their attempts and the endpoint's last answer.

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

TL;DR

QuestionAnswer
What does it do?List deliveries.
What does it need?An API key or an OAuth access token.
What does it take?id in the path, and limit, startingAfter in the query string.
What does it return?Status 200 with a body of type WebhookDeliveryList.
In the SDK?flung.webhookEndpoints.deliveries()
What can go wrong?401 Missing, unknown, revoked or expired API key; 404 No such endpoint in this workspace; 422 The request failed validation; 429 Too many requests for this credential; wait for retry-after seconds. Every failure has the same error shape.

Example

bash
curl -X GET 'https://api.flung.dev/v1/webhook-endpoints/whe_aaaaaaaaaaaaaaaaaaaaaaaa/deliveries' \  --header "Authorization: Bearer $FLUNG_API_KEY"

A successful answer looks like this:

json
{  "data": [    {      "id": "string",      "eventId": "string",      "eventType": "string",      "status": "pending",      "attempts": 1,      "responseStatus": 1,      "lastError": "string",      "createdAt": "2026-11-01T09:00:00.000Z",      "updatedAt": "2026-11-01T09:00:00.000Z"    }  ],  "hasMore": true}

Path parameters

FieldTypeRequiredDescription
idstringyes

Query parameters

FieldTypeRequiredDescription
limitintegerno
startingAfterstringno

Responses

StatusMeaningBody
200A page of deliveries.WebhookDeliveryList
401Missing, unknown, revoked or expired API key.Error
404No such endpoint in this workspace.Error
422The request failed validation.Error
429Too many requests for this credential; wait for retry-after seconds.Error

Response body

A 200 answer has the type WebhookDeliveryList.

FieldTypeRequiredDescription
dataWebhookDelivery[]yes
data[].idstringyes
data[].eventIdstringyes
data[].eventTypestringyesAn event type, or webhook.ping for a test.
data[].status"pending" | "delivered" | "failed"yespending while retries remain.
data[].attemptsintegeryes
data[].responseStatusinteger | nullyes
data[].lastErrorstring | nullyes
data[].createdAtstringyes
data[].updatedAtstringyes
hasMorebooleanyes

See also

DocWhy
API referenceEvery endpoint
SchemasEvery request and response type
ErrorsEvery error code and what to do about it