Skip to main content
The slots endpoint returns all time slots for a given date, including which slots still have capacity for the requested party size. Use this after the guest picks a date from the availability calendar to show them the exact times they can book.

Endpoint

No authentication is required.

Path parameters

string
required
The public token for the restaurant.

Query parameters

string
required
The date to fetch slots for, in YYYY-MM-DD format. For example, 2025-05-15.
number
required
The number of guests in the party. Slots where remaining_capacity is less than this value will be returned with available: false.

Response fields

string
required
The date that was queried, echoed back in YYYY-MM-DD format.
number
required
The party size that was queried, echoed back.
object[]
required
Array of time slot objects for the requested date. Includes both available and unavailable slots so you can show a complete schedule with greyed-out times.
Show all slots in the response — even those with available: false — so guests can see the full schedule. Displaying unavailable slots as greyed-out gives a clearer picture of the restaurant’s rhythm than hiding them entirely.

Example