Skip to navigation

Reservation requested

Sent when a guest requests a table through POST /reservations.

Headers

X-LettBestilt-Webhook-IdstringRequired
The ID of the webhook subscription this delivery belongs to.
X-LettBestilt-Delivery-IdstringRequired
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-TimestampstringRequired
Unix time in seconds when this attempt was signed. Reject old timestamps to stop replays.
X-LettBestilt-Webhook-SignaturestringRequired

sha256= followed by the hex HMAC-SHA256 of {timestamp}.{raw body}, keyed with the webhook’s signing secret (whsec_…).

Payload

The payload of this webhook request is an object.
eventenumRequired
Allowed values:
createdAtdatetimeRequired

When the event happened (ISO 8601, UTC).

dataobjectRequired

The data of a RESERVATION_REQUESTED event.

Response

200

Respond with any 2xx status within 5 seconds to acknowledge the event.