---
title: "Update Webhook (partial)"
method: PATCH
path: "/webhooks/{webhook_id}"
tags: ["webhooks"]
---

# Update Webhook (partial)

`PATCH /webhooks/{webhook_id}`

## Request

- Base URL: `https://api.coinvoyage.io/v3`
- URL: `https://api.coinvoyage.io/v3/webhooks/{webhook_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3/docs/webhooks/:webhook_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `webhook_id` string, required

## Headers

- `Authorization-Signature` string, required

## Request body

- UpdateWebhookRequest
  - `url` string, nullable
  - `subscription_events` string[]
  - `active` boolean, nullable

## Response `200`

Webhook updated

- WebhookResponse
  - `id` string, required
  - `url` string, required
  - `webhook_secret` string
  - `subscription_events` string[]
  - `active` boolean, required

## Other responses

- `400`: Invalid webhook URL
- `401`: Unauthorized
- `404`: Webhook not found
- `422`: Invalid request body
- `500`: Internal Server Error

---

[API](https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3.md) - [All operations](https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/coinvoyage/apis/coinvoyage-api-v3/revisions/3535f46f4c27?raw)
