---
title: "Liteapi Webhook"
method: POST
path: "/hotel-bookings/webhook"
tags: ["hotel-bookings"]
---

# Liteapi Webhook

`POST /hotel-bookings/webhook`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/hotel-bookings/webhook`
- Auth: none declared

At-least-once sink. Idempotent on `event_id`.

The dedup row is inserted in the SAME transaction as the handler's mutation,
so a handler that raises rolls the dedup row back with it and LiteAPI's
retry gets a real second attempt — rather than a 200 over a booking we never
actually updated.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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