API

Bookings

Index of all booking endpoints — public/guest and authenticated.

Base path: /api/v1/bookings

Booking endpoints are split into two pages depending on whether the caller is authenticated.

Public / Guest — cms-booki-web-app

organizationId is resolved from x-tenant-slug header, subdomain, or :organizationId route param. See Key Concepts.

MethodPathDescription
POST/api/v1/bookings/type/:typeCreate guest booking (tenant from header/subdomain)
POST/api/v1/bookings/organizations/:orgId/type/:typeCreate guest booking (org ID explicit in URL)
PUT/api/v1/bookings/:id/verifyVerify booking via email token
GET/api/v1/bookings/fully-booked-slotsList fully-booked time slots for a branch
GET/api/v1/bookings/:idGet booking by ID

→ Full details: Bookings - Public & Guest


Authenticated — customer-booki-web-app

organizationId is read from the customer's JWT token. Authorization: Bearer <accessToken> header required.

MethodPathDescription
POST/api/v1/bookingsCreate booking as logged-in customer
GET/api/v1/bookingsList bookings for current customer
PUT/api/v1/bookings/:id/rescheduleRequest reschedule
PUT/api/v1/bookings/:id/cancelCancel booking

→ Full details: Bookings - Authenticated