---
title: "Update Webhook"
method: PATCH
path: "/api/v2/webhooks/{id}"
tags: ["Webhooks"]
---

# Update Webhook

`PATCH /api/v2/webhooks/{id}`

Update an existing webhook's configuration. All fields are optional; only the provided fields will be modified.

## Path parameters

- `id` integer, required

## Request body

- PatchedWebhookUpdateRequest — Validates the payload for updating an existing webhook (PATCH). All fields are optional, but at least one must be provided.
  - `url` string, uri
  - `event_type` 'clientview_updated' | 'incremental_update' | 'series_updated' | 'document_added' — * `clientview_updated` - Clientview Updated * `incremental_update` - Incremental Update * `series_updated` - Series Updated * `document_added` - Document Added
  - `is_test` boolean
  - `active` boolean
  - `header_name` string
  - `prefix` string
  - `auth_secret` string

## Response `200`

- WebhookFullRead — Read-only serializer for webhook responses (list, retrieve, create, update). ``masked_auth_secret`` is a pre-computed field stored on the model that exposes only the last 4 characters of the auth secret (e.g. ``"****7890"``). Secrets of 4 or fewer characters are fully masked as ``"****"``. This avoids decrypting the auth secret on every read request.
  - `id` integer, required
  - `event_type` string, required
  - `active` boolean, required
  - `is_test` boolean, required
  - `url` string, uri, required
  - `header_name` string, required
  - `prefix` string, required
  - `masked_auth_secret` string, required
  - `created_at` string, date-time, required

## Other responses

- `400`
- `401`
- `404`
- `429`

---

[API](https://skmtc.net/daloopa/apis/daloopa-api.md) · [All operations](https://skmtc.net/daloopa/apis/daloopa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/daloopa/daloopa-api/versions/746538a1eb45/schema)
