Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.koulis.ai/llms.txt

Use this file to discover all available pages before exploring further.

The restaurant configuration endpoints let you fetch and update your restaurant’s widget settings, branding, and booking rules. All requests require a valid JWT Bearer token. See Authentication if you haven’t set that up yet.

GET your configuration

Returns the full configuration object for your restaurant, including all booking rules and widget settings.

Endpoint

GET https://api.lakreme.fr/api/v1/restaurant/me

Example

curl https://api.lakreme.fr/api/v1/restaurant/me \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
{
  "restaurant_id": "rest_789xyz",
  "public_token": "tok_abc123",
  "is_active": true,
  "restaurant_name": "Le Petit Bistro",
  "restaurant_address": "12 Rue de Rivoli, 75001 Paris",
  "restaurant_phone": "+33 1 42 60 00 00",
  "advance_booking_days": 30,
  "min_cancel_hours": 24,
  "welcome_message_fr": "Bienvenue ! Nous sommes ravis de vous accueillir.",
  "welcome_message_en": "Welcome! We look forward to having you.",
  "accent_color": "#e85d4a",
  "show_branding": true,
  "show_on_directory": true,
  "confirmation_mode": "auto",
  "max_party_size": 8,
  "notification_email": "[email protected]",
  "notification_phone": "+33 6 12 34 56 78"
}

PATCH your configuration

Updates one or more fields on your restaurant configuration. Only include the fields you want to change — all other fields remain untouched.

Endpoint

PATCH https://api.lakreme.fr/api/v1/restaurant/me

Patchable fields

accent_color
string
Hex color code for your booking widget’s accent color. For example, "#e85d4a". Applied to buttons and interactive elements on your booking page.
welcome_message_fr
string
Welcome message displayed to French-speaking guests. Maximum 200 characters.
welcome_message_en
string
Welcome message displayed to English-speaking guests. Maximum 200 characters.
show_on_directory
boolean
Set to true to list your restaurant on the public La Krème directory at lakreme.fr. Set to false to make your booking page accessible by direct link only.
notification_email
string
Email address that receives notifications when a new reservation is created or updated.
notification_phone
string
Phone number that receives SMS notifications for new reservations.
min_cancel_hours
number
Minimum hours before the reservation time within which cancellations are no longer accepted. Accepted range: 0 to 48.
advance_booking_days
number
How many days in advance guests can book. The booking calendar will not show dates beyond this window. Accepted range: 7 to 180.
confirmation_mode
string
How new reservations are confirmed. "auto" confirms immediately on creation. "manual" places new reservations in a pending state until you approve them from the dashboard.

Example

curl -X PATCH https://api.lakreme.fr/api/v1/restaurant/me \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "accent_color": "#2d6a4f",
    "welcome_message_en": "Book your table online — we can't wait to see you.",
    "confirmation_mode": "manual",
    "advance_booking_days": 60
  }'
{
  "restaurant_id": "rest_789xyz",
  "public_token": "tok_abc123",
  "is_active": true,
  "restaurant_name": "Le Petit Bistro",
  "restaurant_address": "12 Rue de Rivoli, 75001 Paris",
  "restaurant_phone": "+33 1 42 60 00 00",
  "advance_booking_days": 60,
  "min_cancel_hours": 24,
  "welcome_message_fr": "Bienvenue ! Nous sommes ravis de vous accueillir.",
  "welcome_message_en": "Book your table online — we can't wait to see you.",
  "accent_color": "#2d6a4f",
  "show_branding": true,
  "show_on_directory": true,
  "confirmation_mode": "manual",
  "max_party_size": 8,
  "notification_email": "[email protected]",
  "notification_phone": "+33 6 12 34 56 78"
}