Two endpoints expose availability schedules. The public endpoint atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/bentlyy/Clinica/llms.txt
Use this file to discover all available pages before exploring further.
/availability/:id accepts a doctor ID and requires no authentication, making it suitable for rendering a booking calendar before a user logs in. Authenticated doctors can also fetch their own schedule via /availability/me.
Endpoints
GET /api/availability/:id — public
Returns the full weekly availability schedule for a doctor. No authentication required. Path parametersID of the doctor whose schedule you want to retrieve.
GET /api/availability/me — authenticated doctor
Returns the schedule for the currently authenticated doctor. Requires thedoctor role.
Headers
Bearer token for a doctor account. Format:
Bearer <token>Response
Both endpoints return an array of availability records in the same shape.Unique availability record ID.
ID of the owning doctor.
Day of the week (0 = Sunday, 6 = Saturday).
Window start time (
HH:MM).Window end time (
HH:MM).