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

# Liteapi Webhook

`POST /hotel-bookings/webhook`

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/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
