> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.lettbestilt.no/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.lettbestilt.no/_mcp/server.

# Reservation rejected

POST 

Sent when the restaurant rejects a reservation request. The reservation's status becomes `CANCELLED`.

Reference: https://docs.lettbestilt.no/api-reference/webhooks/reservation-rejected

## Request

### Headers

- `X-LettBestilt-Webhook-Id` (string, required) — The ID of the webhook subscription this delivery belongs to.
- `X-LettBestilt-Delivery-Id` (string, required) — Stable per event and subscription. Retries of the same event carry the same ID, so use it to skip events you have already handled.
- `X-LettBestilt-Webhook-Timestamp` (string, required) — Unix time in seconds when this attempt was signed. Reject old timestamps to stop replays.
- `X-LettBestilt-Webhook-Signature` (string, required) — `sha256=` followed by the hex HMAC-SHA256 of `{timestamp}.{raw body}`, keyed with the webhook's signing secret (`whsec_…`).

### Payload

- `event` (enum, required)
  - Allowed values: `RESERVATION_REJECTED`
- `createdAt` (datetime, required) — When the event happened (ISO 8601, UTC).
- `data` (ReservationRejectedData, required) — The `data` of a `RESERVATION_REJECTED` event.

## Types

### ReservationRejectedData

The `data` of a `RESERVATION_REJECTED` event.

- `orderId` (string, required)
- `orderNumber` (integer, required)
- `publicToken` (string, required)
- `reason` (string, required, nullable) — The reason the restaurant gave, or `null`.