---
title: "Update a client webhook"
method: PATCH
path: "/v1/clients/{clientId}/webhooks/{id}"
---

# Update a client webhook

`PATCH /v1/clients/{clientId}/webhooks/{id}`

Updates one or more fields of a webhook owned by the client. All fields in the request body are optional, but at least one must be provided.

## Path parameters

- `clientId` string, uuid, required
- `id` string, uuid, required

## Request body

- WebhookUpdateRequest — Fields available to update for an existing webhook. All fields are optional, but at least one must be provided.
  - `url` string, uri
  - `token` string
  - `webhook_status` 'ACTIVE' | 'INACTIVE'
  - `auth_client_id` string
  - `auth_client_secret` string
  - `auth_url` string, uri
  - `auth_scope` string
  - `auth_audience` string

## Response `200`

Webhook successfully updated

- WebhookResponse
  - `id` string
  - `clientId` string
  - `url` string
  - `token` string
  - `webhookType` string
  - `webhookStatus` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `deletedAt` string, nullable
  - `blockedAt` string, nullable
  - `deletedBy` string, nullable
  - `blockedBy` string, nullable

## Other responses

- `400` — No fields provided to update (DATA_ERROR - "There is no information provided to update the Webhook.")
- `404` — Webhook not found for this client (RESOURCE_NOT_FOUND).

---

[API](https://skmtc.dev/monato/apis/fincore-api.md) · [All operations](https://skmtc.dev/monato/apis/fincore-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/monato/fincore-api/revisions/a8263ed74545/schema)
