Skip to content

List deliveries

GET /v1/webhooks/{id}/deliveries

List an endpoint’s delivery attempts of the last 7 days.

API key with the webhooks scope.

Request

Terminal window
curl "https://api.formatjet.com/v1/webhooks/wh_01JBXA6K8M0P2R4S6T8V0W2X4Y/deliveries" \
-H "Authorization: Bearer $FORMATJET_API_KEY"

Path parameters

FieldTypeDescription
id requiredstring

Query parameters

FieldTypeDescription
limitinteger
cursorstring
event_idstring

Responses

200 OK

Attempts, newest first

FieldTypeDescription
dataobject[]
data[].idstring
data[].endpoint_idstring | null
data[].event_idstring
data[].event_type"job.completed" | "job.failed" | "job.canceled"
data[].job_idstring
data[].mode"live" | "test"
data[].attemptnumber
data[].replayboolean
data[].succeededboolean
data[].status_codenumber | null
data[].errorstring | nulltimeout, unreachable, refused_url, redirect or http_status
data[].duration_msnumber
data[].next_attempt_atstring | null
data[].created_atstring
next_cursorstring | null
Example
{
"data": [
{
"id": "dlv_01JBXA4D2F4G6H8J0K2M4N6P8Q",
"endpoint_id": "wh_01JBXA6K8M0P2R4S6T8V0W2X4Y",
"event_id": "evt_01JBXA4C7E9G1H3J5K7M9N1P3Q",
"event_type": "job.completed",
"job_id": "job_01JBXA3Q6M2T8V4W9Y5Z7B1C3D",
"mode": "live",
"attempt": 1,
"replay": false,
"succeeded": true,
"status_code": 200,
"error": null,
"duration_ms": 182,
"next_attempt_at": null,
"created_at": "2026-10-24T10:00:06.000Z"
}
],
"next_cursor": null
}

Errors

Problem documents (application/problem+json); see Errors.

StatusCodeWhen
400invalid_requestA cursor that isn’t one we gave, or limit outside 1 to 100.
401unauthorizedNo API key, or one that’s unknown or revoked.
403forbiddenThe key lacks the webhooks scope, or the plan has no API.
404not_foundNo webhook endpoint of this key’s mode has this ID.
429rate_limitedMore requests than the plan allows in 10 seconds: wait Retry-After seconds.