Services & Availability
These endpoints expose the public service catalogue and the booking-slot schedule. All three are Public — none of them callrequireSession or
requireRole, so no session cookie is needed.
Base URL:
https://theroyalglow.in · Auth: Public (no session). Money
is an integer in paise (pricePaise: 250000 = ₹2,500.00). Durations are
whole minutes. All responses use the standard envelope
{ "success": true, "data": ... }.GET /api/services
Returns the full catalogue: every active service category (ordered bydisplayOrder) with its active services nested under services.
Minimum role: Public
Response
data.categories is an array of category objects. Each category carries its own
columns plus a services array of the active services that belong to it.
Errors
GET /api/services/[slug]
Returns a single service matched by its uniqueslug.
Minimum role: Public
Path parameters
Response
Errors
GET /api/availability
Returns the bookable time slots for a single date. Slots are a fixed 30-minute schedule from 10:00 to 21:00 (first slot starts10:00, last slot
starts 20:30 and ends 21:00). Every slot is currently reported as
available: true.
Minimum role: Public