---
title: "Get a webhook"
method: GET
path: "/webdbs/webhooks/{webhook_id}"
tags: ["webdbs"]
---

# Get a webhook

`GET /webdbs/webhooks/{webhook_id}`

Returns one WebDB webhook.

## Path parameters

- `webhook_id` string, required — Webhook ID.

## Query parameters

- `tags` string[] — Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.

## Response `200`

Webhook

- object — Sends WebDB events to an HTTPS endpoint.
  - `id` string, required — Webhook ID.
  - `url` string, uri, required — HTTPS URL that receives events.
  - `events` string[], required — Events sent to this webhook.
  - `collection_id` string, nullable, required — Collection being watched, or null for all collections.
  - `on` object, nullable, required — Optional field filter for row.updated events.
    - `fields` string[], required — Fields that trigger row.updated events.
  - `delivery` 'instant' | 'batch', required — Whether events are sent immediately or in batches.
  - `batch` object, nullable, required — Batch delivery settings.
    - `max_size` integer — Maximum events in one batch.
    - `max_delay` string — Maximum wait before sending a batch.
  - `secret` string, required — Secret used to verify webhook signatures.
  - `status` 'active' | 'disabled', required — Current webhook status.
  - `created_at` string, date-time, required — Time the webhook was created.
  - `updated_at` string, date-time, required — Time the webhook was last updated.
  - `key_metadata` KeyMetadata — Metadata about the API key used for the request. Included in every response whenever a valid API key is provided, even when the response status is not 200.
    - `credits_consumed` integer, required — The number of credits consumed by this request.
    - `credits_remaining` integer, required — The number of credits remaining for your organization after this request.

## Other responses

- `401` — Unauthorized
- `404` — Not found

## Changes

> 26 revisions in range; 19 could not be searched.

- **2026-07-31** `f5c503b03f98` — 8 warning
  - added the new `BATCH_LIMIT_EXCEEDED` enum value to the `error_code` response property for the response status `401`
  - added the new `BATCH_LIMIT_EXCEEDED` enum value to the `error_code` response property for the response status `404`
  - added the new `BATCH_NOT_CANCELLABLE` enum value to the `error_code` response property for the response status `401`
  - added the new `BATCH_NOT_CANCELLABLE` enum value to the `error_code` response property for the response status `404`
  - …4 more
- **2026-07-26** `35f1d8d4ea26` — 4 warning
  - added the new `MONITOR_NO_WEBHOOK` enum value to the `error_code` response property for the response status `401`
  - added the new `MONITOR_NO_WEBHOOK` enum value to the `error_code` response property for the response status `404`
  - added the new `PAID_PLAN_REQUIRED` enum value to the `error_code` response property for the response status `401`
  - added the new `PAID_PLAN_REQUIRED` enum value to the `error_code` response property for the response status `404`
- **2026-07-21** `3764d9c86493` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/context/apis/context-dev/changes/webdbs/webhooks/:webhook_id/get.md)

---

[API](https://skmtc.dev/context/apis/context-dev.md) · [All operations](https://skmtc.dev/context/apis/context-dev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/context/context-dev/revisions/1febe5476266/schema)
