---
title: "Get a webhook"
method: GET
path: "/v1/webhooks/{id}"
tags: ["Webhook management"]
---

# Get a webhook

`GET /v1/webhooks/{id}`

## Request

- Base URL: `https://api.vatnode.dev`
- URL: `https://api.vatnode.dev/v1/webhooks/{id}`
- Auth: one of:
  - API key in cookie `better-auth.session_token`
  - HTTP bearer

A single webhook with its 20 most recent delivery attempts.

## Path parameters

- `id` string, required

## Response `200`

The webhook and its recent deliveries.

- WebhookDetail
  - `id` string, required
  - `url` string, uri, required
  - `status` 'active' | 'disabled' | 'inactive', required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `recentDeliveries` WebhookDelivery[], required
    - `id` string, required
    - `eventId` string, required
    - `attempt` integer, required
    - `statusCode` integer, nullable, required
    - `error` string, nullable, required
    - `sentAt` string, date-time, nullable, required
    - `nextRetryAt` string, date-time, nullable: Present only on the deliveries-list endpoint.

## Other responses

- `401`: No valid session (`UNAUTHORIZED`), or the account has been deleted (`ACCOUNT_DELETED`).
- `404`: The addressed resource does not exist, or is not owned by the authenticated caller. Returns the standard error envelope with code `NOT_FOUND`. Ownership and existence are deliberately not distinguished, so a resource belonging to another account is reported as missing rather than forbidden.
- `500`: An unexpected server error occurred. Returns the standard error envelope with code `INTERNAL_ERROR` and a `requestId` for support correlation. The failing request had no side effects the caller can rely on; retry is safe for idempotent operations.
- `503`: The database is temporarily unavailable (`DB_UNAVAILABLE`).

---

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