1) List venues
spaceId you want to book.
2) Get available slots for a space
3) Create a temporary booking
Create a booking with just the product, seat, and slot. This reserves the slot for 15 minutes:201 response returns the booking ID:
4) Confirm the booking
Update the booking with customer information to confirm it:5) Keep in sync
Subscribe to webhooks to track booking updates, cancellations, or payment events. Notes for production:- Keep booking creation idempotent by reusing a client-generated idempotency key if you retry.
- Always send
Content-Type: application/jsonandAuthorization: Bearer <token>. - Use UTC timestamps (
Z) for slotfromandto. - Confirm bookings within 15 minutes or they expire.