---
title: "Create a Webhook"
method: POST
path: "/webhooks"
tags: ["Webhooks"]
---

# Create a Webhook

`POST /webhooks`

## Request body

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

## Response `201`

The created webhook

- 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)
