---
title: "Update a webhook"
method: PATCH
path: "/webhooks/{webhook_id}"
tags: ["Webhooks (v2)"]
---

# Update a webhook

`PATCH /webhooks/{webhook_id}`

## Request

- Base URL: `https://b2b.revolut.com/api/2.0`
- URL: `https://b2b.revolut.com/api/2.0/webhooks/{webhook_id}`
- Auth: HTTP bearer

Update an existing webhook. Change the URL to which event notifications are sent or the list of event types to be notified about.

You must specify at least one of these two. The fields that you don't specify are not updated.

For more information, see the guides: [About webhooks](https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks) and [Manage webhooks](https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks#update-a-webhook).

## Path parameters

- `webhook_id` string, uuid, required

## Request body

- UpdateWebhookRequest
  - `url` string, uri: A valid webhook URL to which to send event notifications. The supported protocol is `https`.
  - `events` WebhookEventType[]: A list of event types to subscribe to.

## Response `200`

The successfully updated webhook

- WebhookV2Basic
  - `id` string, uuid, required: The ID of the webhook.
  - `url` string, uri, required: The valid webhook URL that event notifications are sent to. The supported protocol is `https`.
  - `events` WebhookEventType[], required: The list of event types that you are subscribed to.

## Other responses

- `400`: Bad Request
- `default`: Unexpected error

---

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