1
Lock a slot
Send a POST request to reserve a specific date, time, and party size. The API temporarily holds that slot and returns a No authentication is required.
lock_token.Endpoint
Path parameters
string
required
The public token for the restaurant.
Request body
string
required
The reservation date in
YYYY-MM-DD format.string
required
The start time of the slot in
HH:MM format (24-hour clock).number
required
The number of guests in the party.
string
default:"fr"
Language for the confirmation message returned in step 2. Accepted values:
fr, en.Response fields
string
required
A short-lived token that identifies the locked slot. Pass this token in step 2 to confirm the reservation.
string
required
ISO 8601 timestamp indicating when the lock expires. Complete step 2 before this time.
string
required
The ID of the table that was assigned to hold this slot.
2
Confirm the reservation
Submit the guest’s contact details along with the No authentication is required.
lock_token from step 1. If the lock is still valid, the reservation is created and a confirmation code is returned.Endpoint
Path parameters
string
required
The public token for the restaurant.
Request body
string
required
The lock token returned from step 1. This token must not have expired.
string
required
Guest’s first name.
string
required
Guest’s last name.
string
required
Guest’s email address. La Krème sends the confirmation email here.
string
required
Guest’s phone number.
string
default:"fr"
Language for the confirmation email and response message. Accepted values:
fr, en.Response fields
string
required
Unique identifier for the newly created reservation.
string
required
A short alphanumeric code the guest can use to reference their booking (for example,
ABC-1234).string
required
Initial status of the reservation.
confirmed if the restaurant uses automatic confirmation, or pending if manual confirmation is required.string
required
Name of the restaurant, included for display in your confirmation UI.
string
required
The reservation date in
YYYY-MM-DD format, echoed back.string
required
The reservation time in
HH:MM format, echoed back.number
required
The party size, echoed back.
string
required
A human-readable confirmation message in the requested language, suitable for displaying directly to the guest.