Create Booking
create-bookingCreate a booking for a company as a guest. Requires a date (YYYY/MM/DD), an hour and shift_id obtained from list-available-slots, and the guest contact details. On success, returns the reservation details including a token that can be used with get-booking-info and cancel-booking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Guest city. | |
| date | Yes | Booking date in YYYY/MM/DD format (e.g. 2026/07/20). Note the slashes. | |
| hour | Yes | Booking hour in HH:MM format, taken from list-available-slots. | |
| name | Yes | Guest first name. | |
| pets | No | Number of pets. | |
| Yes | Guest email address. The booking confirmation and management token are sent here. | ||
| optin | No | Marketing opt-in flag (1 or 0). | |
| phone | Yes | Guest phone number. | |
| vegan | No | Whether the party includes vegan guests. | |
| adults | Yes | Number of adults. | |
| babies | No | Number of babies. | |
| country | No | Guest country. | |
| message | No | Optional message for the business. | |
| surname | Yes | Guest last name. | |
| children | No | Number of children. | |
| latitude | No | Guest latitude, if known. | |
| shift_id | Yes | The shift id, taken from list-available-slots. | |
| highchair | No | Number of highchairs. | |
| longitude | No | Guest longitude, if known. | |
| pushchair | No | Number of pushchairs. | |
| company_id | Yes | The company id, as returned by the find-company tool. | |
| vegetarian | No | Whether the party includes vegetarian guests. | |
| wheelchair | No | Number of wheelchairs. | |
| gluten_free | No | Whether the party needs gluten-free options. | |
| guest_token | No | Existing guest token, if the guest has booked before. | |
| nuts_allergy | No | Whether the party has a nut allergy. |