Skip to main content
The widget config endpoint returns all the public settings for a restaurant. Use it to initialize your custom booking UI with the correct branding, welcome message, and booking constraints before showing any availability to your guest.

Endpoint

No authentication is required. The {publicToken} in the path identifies the restaurant.

Path parameters

string
required
The public token for the restaurant. Found in your La Krème dashboard under Widget → Settings.

Query parameters

string
default:"fr"
Language code for the welcome_message field. Accepted values: fr, en. Defaults to fr if omitted.

Response fields

string
required
Unique identifier for the restaurant.
string
The public token for this restaurant, echoed back in the response.
boolean
required
Whether the booking widget is currently active and accepting reservations.
string
required
Display name of the restaurant.
string
Street address of the restaurant. May be omitted if not configured.
string
Contact phone number for the restaurant. May be omitted if not configured.
number
required
How far in advance (in days) guests can book. The calendar will not show dates beyond this window.
number
required
Minimum number of hours before the reservation time within which cancellations are no longer accepted.
string
Localized welcome message displayed at the top of the booking page. The language is determined by the lang query parameter.
string
Welcome message in French (always returned, regardless of lang).
string
Welcome message in English (always returned, regardless of lang).
string
required
Hex color code for the restaurant’s accent color (for example, #e85d4a). Use this to style buttons and highlights in your booking UI.
boolean
required
Whether the La Krème branding should appear at the bottom of the booking widget.
boolean
required
Whether the restaurant is listed on the public La Krème directory.
string
required
How reservations are confirmed. auto means the reservation is confirmed immediately on creation. manual means the restaurant operator must confirm each reservation from the dashboard.
number
required
The maximum number of guests per reservation. The party size selector in your booking UI should not exceed this value.
string
Email address where the restaurant receives booking notifications. Not typically needed for widget rendering.
string
Phone number where the restaurant receives booking notifications. Not typically needed for widget rendering.

Example