Patients are the primary users of Clinica. They register themselves, browse available doctors, book appointments in open time slots, and can cancel bookings they no longer need. The patient role is stored asDocumentation 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.
user in the database and is assigned automatically to every self-registered account — no admin action is required to get started.
Full patient workflow
The steps below walk through the complete patient journey usingcurl examples.
Step 1: Register an account
role: user automatically. No extra configuration needed.
Step 2: Log in
token. Use it as Authorization: Bearer <token> in all subsequent requests.
Step 3: Browse doctors (no auth required)
Step 4: Check available slots
Step 5: Book an appointment
Step 6: View your bookings
Step 7: Cancel a booking
Access control
Most patient endpoints require a valid JWT but do not check for a specific role — any authenticated user can callPOST /api/bookings, GET /api/bookings/me, and DELETE /api/bookings/:id. The exception is GET /api/doctors/public, which requires no authentication at all.
Patients cannot access doctor-only endpoints such as
GET /api/bookings/doctor or POST /api/availability. Those routes are restricted to accounts with the doctor role and will return 403 Forbidden for patient tokens.