Skip to main content

Book a slot

POST 

/api/book/:slug/book

Books a slot on a public booking page and returns a summary of the booking and whether it awaits approval. slotStart must exactly match a slot currently returned by the slots endpoint for the same timeZone. An event is created in the booking calendar right away, and the booking is pending if the page requires approval and confirmed otherwise. Optional guests are extra email addresses: the booker and those guests are added as attendees on the event, and each of them gets the pending notice or the confirmation. At most 10 guests. With the choose assignment mode hostUserId is required and must be free; with pooled the free host with the fewest upcoming bookings is assigned. Members are emailed if the page notifies members. Public; no authentication. 400 also when the slot is in the past, a guest email is invalid, or the slot is no longer available; 404 when the page is inactive.

Request​

Responses​

Booking created.