---
title: "Create a webhook subscription"
method: POST
path: "/api/webhooksubscriptions"
tags: ["Webhook subscriptions"]
---

# Create a webhook subscription

`POST /api/webhooksubscriptions`

## Request

- Base URL: `https://api.hotelumo.com`
- URL: `https://api.hotelumo.com/api/webhooksubscriptions`
- Auth: API key in header `Authorization`

The response includes the signing `secret` exactly once — store it; it cannot be retrieved again.

## Request body

- object
  - `hotelId` string, required
  - `url` string, required
  - `events` string[]: Empty array subscribes to all events

## Response `200`

The created subscription, including its secret

---

[API](https://skmtc.dev/hotelumo/apis/hotelumo-api.md) · [All operations](https://skmtc.dev/hotelumo/apis/hotelumo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hotelumo/apis/hotelumo-api/revisions/459a91d5cb0c?raw)
