# Deliveries for an endpoint

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

One row per event, newest first, with the tries made, the latest outcome and when the next try is due. `status=failed` includes events waiting on a disabled endpoint; `status=retrying` includes those not yet tried.

Needs the `webhooks:read` scope, or a full-access key.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | required |  |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | string | optional |  |
| `cursor` | string | optional |  |
| `status` | `delivered` or `failed` or `retrying` | optional |  |

## Responses

### 200

A page of delivery attempts.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
              },
              "endpointId": {
                "type": "string",
                "format": "uuid",
                "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
              },
              "outboxId": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid",
                "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
              },
              "eventId": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid",
                "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                "description": "The `id` in the delivered body. Stable across tries and replays."
              },
              "eventType": {
                "type": "string"
              },
              "attempt": {
                "type": "integer",
                "description": "Tries made so far."
              },
              "maxAttempts": {
                "type": "integer",
                "example": 12
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "retrying",
                  "delivered",
                  "failed",
                  "waiting"
                ],
                "description": "`waiting`: never tried, because the endpoint was disabled when the event happened."
              },
              "statusCode": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Of the latest try."
              },
              "responseMs": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "error": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "deliveredAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastAttemptAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "nextAttemptAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "description": "When the next try is due."
              },
              "isTest": {
                "type": "boolean",
                "description": "True for a \"Send test event\" sample."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "id",
              "endpointId",
              "outboxId",
              "eventId",
              "eventType",
              "attempt",
              "maxAttempts",
              "status",
              "statusCode",
              "responseMs",
              "error",
              "deliveredAt",
              "lastAttemptAt",
              "nextAttemptAt",
              "isTest",
              "createdAt"
            ]
          }
        },
        "next_cursor": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "items",
        "next_cursor"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
