Skip to content

List an endpoint's deliveries

GET /v1/webhooks/endpoints/{endpointId}/deliveries

Lists the deliveries to one endpoint from the last 30 days, newest first (order=asc: oldest first). Filter by state (to find failed ones to send again) or eventType. The payload and the attempts are in GET /webhooks/deliveries/{deliveryId}.

Scopes

The token needs this scope. Without it, the request is refused with insufficient_scope (see Scopes).

webhooks:read
View webhooks. See webhook endpoints and their deliveries.

Path parameters

FieldType and description
endpointId Required

string

The endpoint's id.

Query parameters

FieldType and description
limit

integer 1 to 100 Default 25

How many items to return, from 1 to 100. Default 25.

cursor

string 1 to 1,024 characters

The nextCursor of the previous page, exactly as it was given. Leave it out for the first page.

sort

string Default createdAt

The field to sort by. Each list names the fields it can be sorted by.

One of: createdAt

order

string Default desc

asc (smallest or oldest first) or desc. Each list has its own default.

One of: ascdesc

state

string

Only deliveries in this state.

One of: pendingsucceededfailed

eventType

string Up to 100 characters

Only deliveries of this event type.

Example request

curl "https://api.rabbitflare.com/v1/webhooks/endpoints/3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b/deliveries?state=failed" \
  -H "Authorization: Bearer $RABBITFLARE_TOKEN"

Response

200 OK Returns a list of WebhookDelivery objects in data, with a Pagination object in pagination.

The WebhookDelivery object's fields 11 fields
FieldType and description
id

string

The delivery's id (the Rabbitflare-Delivery-Id header).

endpointId

string

The endpoint it was sent to.

eventId

string

The event's id (the payload's id): the same for every endpoint and every attempt. A test event's starts with ping_.

eventType

string

The event's type.

state

string

pending (an attempt is due), succeeded (your endpoint answered 2xx) or failed (it gave up after 8 attempts, the endpoint answered 410 Gone, or the endpoint was turned off).

Known values: pendingsucceededfailed More can appear.

attempts

integer

Attempts made so far.

nextAttemptAt

string or null An ISO 8601 time, in UTC

When the next attempt is due, while it's pending; otherwise null.

lastStatus

integer or null

The HTTP status your endpoint last answered, or null (no answer: a timeout, a refused connection, or no attempt yet).

lastError

string or null

Why the last attempt failed, in words, or null.

deliveredAt

string or null An ISO 8601 time, in UTC

When it succeeded, or null.

createdAt

string An ISO 8601 time, in UTC

When it was queued.

Example response

200 OK
{
  "data": [
    {
      "id": "8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a",
      "endpointId": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
      "eventId": "5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60",
      "eventType": "site.ready",
      "state": "failed",
      "attempts": 8,
      "nextAttemptAt": null,
      "lastStatus": 500,
      "lastError": "Your server answered 500.",
      "deliveredAt": null,
      "createdAt": "2026-11-18T08:46:50.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "hasMore": false,
    "nextCursor": null
  }
}

Errors

The errors this request can answer besides those every request can (a missing token, a missing scope, the rate limits). Each answer is an Error object (see Errors).

Status and codeWhen, and what to do
400 invalid_parameter

A query parameter is unknown or has a wrong value (fields names it), or the query is too long: over 16,384 characters, or a parameter's name over 64.

Correct or remove the parameter named in fields.

400 invalid_cursor

The cursor isn't one this list gave, or was made with other filters or another sort.

Start again from the first page, or keep the filters and sort the cursor was made with.

404 not_found

The resource doesn't exist, or isn't this account's.

Check the id. Ids of other accounts' resources answer the same way.

Rate limit

Read requests: 120 a minute per token, 240 per account. More in Rate limits.

Added on .

Popular

API docs