Create a booking page
POST/api/booking-pages
Creates a public booking page, served at /book/<slug>, where people without an account can book time, and returns it. The signed-in user becomes its first member, and a dedicated booking calendar with the same name and color is created and shared readwrite with members; bookings appear there as events. name, a unique slug (lowercase letters, digits, hyphens, slashes), duration (5 to 1440 minutes), timeZone, and availability are required; availability maps weekdays (mon to sun) to lists of HH:MM windows in the page's time zone. Defaults: active, no approval, members notified of bookings, pooled assignment, hosts shown publicly, no buffers, color #3498db. calendarIds sets which of the caller's own calendars block slots; calendars the caller does not own are ignored. Any signed-in user may call it; 409 when the slug is taken.
Request
Responses
- 201
- 400
- 409
Created page.
Request failed.
Request failed.