---
title: "List webhooks"
method: GET
path: "/v1/webhooks"
tags: ["Webhooks"]
---

# List webhooks

`GET /v1/webhooks`

## Request

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

Returns the organization's webhook endpoints, oldest first, with each endpoint's delivery counts, optionally filtered by a search term matched against name and URL, and by status. Pass `nextCursor` back as `cursor` for the next page; it is null on the last page.

## Query parameters

- `limit` string, nullable
- `cursor` string
- `search` string, nullable
- `status` 'active' | 'disabled', nullable

## Response `200`

WebhookEndpointPage

- WebhookEndpointPage
  - `items` WebhookEndpointListItem[], required
    - `id` string, required
    - `name` string, required
    - `url` string, required
    - `eventTypes` string[], required
    - `channels` string[], nullable, required
    - `mailboxIds` MailboxId[], nullable, required
    - `namespaceId` string, required
    - `status` 'active' | 'disabled', required
    - `hasCustomHeaders` boolean, required
    - `failureStartedAt` string, nullable, required
    - `lastSucceededAt` string, nullable, required
    - `createdAt` string, required
    - `updatedAt` string, required
    - `deliveries` WebhookDeliveryCounts, required
      - `total` integer, required
      - `pending` integer, required
      - `delivered` integer, required
      - `exhausted` integer, required
      - `cancelled` integer, required
  - `nextCursor` string, nullable, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `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)
