Each CitaBox clinic gets its own patient portal — a simple web page where patients log in with their national ID and password to view their appointments, prescriptions, and consultation history. The portal is scoped to a single clinic, so a patient who visits more than one CitaBox-powered clinic will have a separate login for each one.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/FerchoSG/healthcare-web/llms.txt
Use this file to discover all available pages before exploring further.
Portal URL
The patient portal for each clinic is available at:{clinicSlug} with your clinic’s unique identifier. For example, a clinic with the slug clinica-sol would have its portal at https://citabox.app/portal/clinica-sol.
Patient login
Patients log in using their national ID (cédula or DIMEX) and a password set by the clinic. No email address is needed.The portal password is separate from the clinic staff login. Staff credentials are managed under Settings → Users and are not shared with patients. Patient passwords are assigned or reset from the patient record inside CitaBox.
Login credentials
| Field | Type | Description |
|---|---|---|
identification | string | Patient’s cédula or DIMEX number |
password | string | Patient’s portal password, set by clinic staff |
clinic_id | string (UUID) | The clinic’s internal ID (resolved automatically from the URL slug) |
Login response
A successful login returns aPatientLoginResponse:
access_token is a Bearer token used to authenticate all subsequent portal API requests. It is stored in the browser session and cleared when the patient logs out.
Portal login flow
Open the clinic portal URL
The patient navigates to
https://citabox.app/portal/{clinicSlug}. The page loads the clinic’s name and logo from the public clinic record before showing the login form.Enter cédula and password
The patient types their national ID (cédula or DIMEX) into the Identificación field and their portal password into the Contraseña field, then clicks Ingresar.
Authenticate against the clinic
The portal sends a
POST /portal/login request with { identification, password, clinic_id }. On success it receives an access_token and the patient’s id, first_name, and last_name.Portal API endpoints
All portal data endpoints require the Bearer token returned by the login step.| Endpoint | Description |
|---|---|
POST /portal/login | Authenticate with cédula, password, and clinic ID |
GET /portal/profile | Fetch the patient’s name and identification |
GET /portal/appointments | List the patient’s appointments at this clinic |
GET /portal/prescriptions | List prescriptions from the patient’s medical records |