Deliveries
List deliveries
GET /v1/webhook/deliveries shows each message's status, attempts, and last error.
Overview
GET/v1/webhook/deliveries
Every message Gray3 tries to send is a delivery. This route lists them, newest first, so you can see what was sent, what failed, and why.
Query parameters
| Field | Required | Description |
|---|---|---|
| page | No | Page number, starting at 1. Default 1. |
| limit | No | Items per page, up to 100. Default 25. |
| status | No | pending, delivered, failed, or dead. |
Request
Request
curl -sS "https://webhooks.gray3.io/v1/webhook/deliveries?status=failed" \
-H "X-Gray-Project-Id: proj_your_project_id" \
-H "Authorization: Bearer gray_whk_your_webhook_key"Response
HTTP 200 — success envelope wraps the payload in data.
json
{
"data": {
"items": [
{
"id": "whdlv_Zp41…",
"eventId": "base:0x6f1e…c2a9:41:token_transfer:whsub_7Qm2…",
"chainId": "base",
"category": "token_transfer",
"stage": "confirmed",
"address": "0x8ba1f109551bD432803012645Ac136ddd64DBA72",
"label": "user_1842",
"status": "failed",
"attempts": 2,
"responseCode": 503,
"lastError": "endpoint responded 503",
"nextAttemptAt": "2026-10-16T09:36:14.000Z",
"createdAt": "2026-10-16T09:31:12.081Z"
}
],
"total": 1,
"page": 1,
"limit": 25
}
}| Field | Required | Description |
|---|---|---|
| status | Yes | pending (waiting for the first try), delivered (got a 2xx), failed (will retry), or dead (gave up). |
| stage | Yes | seen for the unconfirmed message, confirmed for the confirmed one. |
| attempts | Yes | How many times Gray3 has tried to send it. |
| responseCode | No | HTTP status from your server on the last try. |
| lastError | No | Why the last try failed, such as a timeout or a non-2xx status. |
| nextAttemptAt | No | When the next retry is due. Only on pending and failed deliveries. |
| deliveredAt | No | When your server accepted it. |
Errors
Errors use HTTP { "error": { "code", "message", "retryable" } }. Branch on code, not the message text.
| Code | HTTP | When |
|---|---|---|
| invalid_argument | 400 | status is not one of the four values |
json
{
"error": {
"code": "invalid_argument",
"message": "Human-readable detail (may be sanitized).",
"retryable": false
}
}