---
title: "List webhook delivery logs"
method: GET
path: "/v1/webhooks/{id}/logs"
tags: ["Webhooks"]
---

# List webhook delivery logs

`GET /v1/webhooks/{id}/logs`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/webhooks/{id}/logs`
- Auth: API key in header `x-api-key`

Returns a webhook endpoint's deliveries, newest first, each naming the event type and time it was made for, with its nested attempt diagnostics. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.

## Path parameters

- `id` string, required

## Query parameters

- `limit` string, nullable
- `cursor` string

## Response `200`

WebhookDeliveryPage

- WebhookDeliveryPage
  - `items` object[], required
    - `id` string, required
    - `eventId` string, required
    - `eventType` string, required
    - `occurredAt` string, required
    - `endpointId` string, required
    - `status` 'pending' | 'delivered' | 'exhausted' | 'cancelled', required
    - `automaticAttempts` integer, required
    - `nextAttemptAt` string, nullable, required
    - `completedAt` string, nullable, required
    - `createdAt` string, required
    - `updatedAt` string, required
    - `attempts` object[], required
      - `id` string, required
      - `deliveryId` string, required
      - `kind` 'automatic' | 'manual', required
      - `attemptNumber` integer, required
      - `classification` 'success' | 'http-error' | 'network-error' | 'timeout' | 'cancelled', required
      - `attemptedAt` string, required
      - `responseStatus` integer, nullable, required
      - `responseHeaders` object, nullable, required
      - `durationMs` number, nullable, required
      - `errorCode` string, nullable, required
      - `errorMessage` string, nullable, required
      - `createdAt` string, required
  - `nextCursor` string, nullable, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
