Get webhook deliveries - Webhooks

GET /webhooks/{id}/deliveries returns the webhook's delivery attempts that did not succeed (retries and final failures), newest first. It shows the same data as the Deliveries tab of the webhook in the dashboard.

GET https://public-api.getblock.io/api/v1/webhooks/{id}/deliveries

Successful attempts are not listed, except test events. Use GET /webhooks/{id}/stats to count what got through. Under a long failure the log keeps only a sample, about one row a second after the first 20; the exact count is failed_total in the stats.

Parameters

Path parameter:

ParameterTypeRequiredDescription
idstringYesThe webhook's id (wh_…).

Query parameters:

ParameterTypeRequiredDescription
fromstringNoRFC 3339 time. Only attempts at or after it.
tostringNoRFC 3339 time. Only attempts before it.
statusstringNoretrying (will be retried) or failed_terminal (given up). Repeatable or comma-separated. delivered and replayed are accepted, but only test events are ever delivered and nothing is replayed.
limitintegerNoPage size. Default 100, at most 999.
cursorstringNoThe next_cursor of the previous page.

Request Example

bashcurl "https://public-api.getblock.io/api/v1/webhooks/wh_4Qk7Xz9pLm2R/deliveries?status=failed_terminal&from=2026-09-25T00:00:00Z" \
  -H "Authorization: Bearer $GETBLOCK_API_KEY"
javascriptconst id = 'wh_4Qk7Xz9pLm2R';
const url = new URL(`https://public-api.getblock.io/api/v1/webhooks/${id}/deliveries`);
url.searchParams.set('status', 'failed_terminal');
url.searchParams.set('from', '2026-09-25T00:00:00Z');

const response = await fetch(url, {
  headers: { Authorization: `Bearer ${process.env.GETBLOCK_API_KEY}` }
});
const { items } = await response.json();

for (const a of items) {
  console.log(a.delivered_at, a.attempt, a.http_status ?? a.error);
}
pythonimport os
import requests

webhook_id = "wh_4Qk7Xz9pLm2R"

page = requests.get(
    f"https://public-api.getblock.io/api/v1/webhooks/{webhook_id}/deliveries",
    headers={"Authorization": f"Bearer {os.environ['GETBLOCK_API_KEY']}"},
    params={"status": "failed_terminal", "from": "2026-09-25T00:00:00Z"},
).json()

for a in page["items"]:
    print(a["delivered_at"], a["attempt"], a["http_status"] or a.get("error"))

Response Example

json{
  "items": [
    {
      "event_id": "eth:mainnet:receipts:0x3805a4c919e7023ab2dc9be9b9bdf2bc44e0c157028948967c5f5f6f227baa64:0x1b6e7b7715daac0582a3039eed9b453d6bf520765b9dc4da77a4a83d457c4083:0",
      "attempt": 2,
      "status": "retrying",
      "http_status": 503,
      "latency_ms": 1200,
      "delivered_at": "2026-09-25T10:00:20Z"
    }
  ],
  "next_cursor": "…"
}

An empty page is {"items": []}.

Response Parameters

FieldTypeDescription
items[].event_idstringThe event's id, as your endpoint received it in eventId.
items[].attemptintegerAttempt number of this event, from 1 to 8.
items[].statusstringretrying: will be retried. failed_terminal: given up after the last attempt. delivered: test events only.
items[].http_statusinteger or nullYour endpoint's HTTP status. null when no response was received.
items[].latency_msinteger or nullHow long the attempt took.
items[].errorstringWhy the attempt failed, for example a DNS, connection, or TLS error. Omitted when there is nothing to add.
items[].delivered_atstringWhen the attempt was made.
next_cursorstringPass it as cursor for the next page. Absent on the last page.

The retry schedule and what counts as a failure are in Retries and Endpoint Protection.

Use Cases

  • Find out why a webhook became paused_auto before you resume it
  • Get the event_ids of events that were given up, so you can fetch that data from the chain yourself (there is no replay)
  • Spot slow answers close to the 15-second timeout from latency_ms

Error Handling

HTTPCodeCause
400invalid_from, invalid_toNot an RFC 3339 time.
400invalid_time_rangefrom is not before to.
400invalid_statusAn unknown status value.
400invalid_limit, invalid_cursorlimit is not an integer, or cursor was not issued by this endpoint.
404not_foundNo such webhook among yours.
503delivery_log_not_configuredThe delivery log is temporarily unavailable. Retry later.