The Users API lets authenticated users view and update their own profiles, and provides admin-level endpoints to list all platform users. Profile data is split between a shared base (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/FlasheyEstudi/Oasis-Liquido/llms.txt
Use this file to discover all available pages before exploring further.
name, phone) and role-specific sub-profiles such as the patient’s medical history or the delivery driver’s availability flag. Each endpoint returns the full User object including any applicable nested profile.
GET /api/v1/users/me
Return the full profile of the currently authenticated user. This is equivalent toGET /api/v1/auth/me.
curl example
PATCH /api/v1/users/me
Update the base profile fields for the authenticated user.Request body
Updated full display name.
Updated phone number.
curl example
PATCH /api/v1/users/me/patient-profile
Update the patient-specific profile for the authenticated user. Requires thepatient role.
Request body
ISO 8601 date of birth, e.g.
"1990-04-15".Blood type, e.g.
"O+", "AB-".List of known allergen names.
Free-form notes visible to treating doctors.
curl example
GET /api/v1/users
Return a paginated list of all users on the platform. Requires theadmin role.
Query parameters
Filter by user role.
Page number.
Results per page.
curl example
POST /api/v1/users/me/change-password
Change the password for the authenticated user. Any role can call this endpoint for their own account.Request body
The user’s current password, used to verify identity before the change.
The new password to set.
curl example
PATCH /api/v1/users/:id/availability
Toggle the availability status of a delivery driver. The authenticated user must have thedelivery_driver role and can only update their own record.
Path parameters
UUID of the delivery driver user.
Request body
Set to
true to mark the driver as available for assignment, or false to go off-duty.curl example
User response fields
UUID of the user.
User’s email address.
User’s full name.
User’s role. One of:
admin, doctor, receptionist, patient, pharmacy_manager, delivery_driver.Optional phone number.
Whether the account is active.
Included when
role is patient.Included when
role is delivery_driver.