Skip to main content

Documentation 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.

Three endpoints expose doctor listings, each serving a different role. Patients use the public route, admins use the authenticated root route, and doctors retrieve their own profile via /me.
Retrieve all doctors without authentication. Intended for patients browsing available providers.Method: GET
Path: /api/doctors/public
Auth required: No

Response

Returns an array of doctor objects.
id
integer
Unique doctor record ID.
name
string
The doctor’s full name.
specialty
string
The doctor’s medical specialty.
email
string
The doctor’s contact email.
user_id
integer
The ID of the linked user account, if the doctor has one.
user_email
string
The email of the linked user account. Populated via a LEFT JOIN on the users table.

Example

cURL
curl --request GET \
  --url http://localhost:3000/api/doctors/public
Response
[
  {
    "id": 1,
    "name": "Dr. María García",
    "specialty": "Cardiología",
    "email": "m.garcia@clinica.com",
    "user_id": 5,
    "user_email": "m.garcia@clinica.com"
  }
]

Build docs developers (and LLMs) love