---
title: "Update webhook"
method: PUT
path: "/webhooks/{id}"
tags: ["Webhooks"]
---

# Update webhook

`PUT /webhooks/{id}`

Update a webhook

## Path parameters

- `id` string, required

## Request body

- object
  - `url` string
  - `events` string[] — add list of event to register for the provided url

## Response `200`

The updated webhook object

- object[]
  - `accountId` string — Unique Id
  - `_id` string — Unique Id
  - `url` string
  - `events` string[] — add list of event to register for the provided url

---

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