The patients API provides access to the clinic’s patient registry. You can search for patients by name or national ID, retrieve individual profiles, view a patient’s full appointment history, and register new patients. All endpoints require a validDocumentation 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.
Authorization bearer token and x-clinic-id header scoped to the active clinic.
GET /patients
Fetch a paginated list of patients, with optional search filtering. Query parametersSearch term matched against patient name and national ID (
identification).Page number (1-indexed).
Number of results per page.
PaginatedResponse<Patient>
Array of patient objects for the current page.
Pagination metadata.
GET /patients/:id
Retrieve a single patient by UUID. Path parametersUUID of the patient.
Patient
Returns the full patient object. See field definitions in the GET /patients section above.
GET /patients/:id/appointments
Retrieve all appointments for a specific patient. Path parametersUUID of the patient.
Appointment[]
Returns an array of appointment objects belonging to the patient. See the appointments page for the full field list.
POST /patients
Register a new patient in the clinic. Request bodyPatient’s first name.
Patient’s last name.
National ID number (cédula). Must be unique within the clinic.
Date of birth in
YYYY-MM-DD format.Gender. One of
M, F, or OTHER.WhatsApp phone number in international format (e.g.,
+50688887777).Free-form object containing emergency contact information (e.g., name, relationship, phone number).
Patient
The newly created patient object.