iClinic Developers

Endpoints

The iClinic Integration API has 9 endpoints. All of them use GET and are read-only. Every path starts with /api/integration/v1. Select a description to see that endpoint's parameters, response and errors. Each group needs its own scope.

Encounters

DescriptionHTTP request
List encountersGET /encounters

Patients

DescriptionHTTP request
List patientsGET /patients
Get a patientGET /patients/{id}

Appointments

DescriptionHTTP request
List appointmentsGET /appointments
Get an appointmentGET /appointments/{id}

Receipts

DescriptionHTTP request
List receiptsGET /receipts
Get a receiptGET /receipts/{id}

Therapy plans

DescriptionHTTP request
List therapy plansGET /therapy-plans
Get a therapy planGET /therapy-plans/{id}

The four lists of patients, appointments, receipts and therapy plans use cursor paging and accept the updatedSince filter. The encounters list uses page-number paging. See Pagination and Incremental sync.

curl — one command per endpoint
BASE=https://iclinic.phongkhamhieploi.vn/api/integration/v1
AUTH="Authorization: Bearer $ICLINIC_API_KEY"

# Encounters by date (page / pageSize paging)
curl -sS -H "$AUTH" "$BASE/encounters?from=2026-09-14&to=2026-09-19"

# The other four lists (cursor / limit paging)
curl -sS -H "$AUTH" "$BASE/patients?limit=200"
curl -sS -H "$AUTH" "$BASE/appointments?limit=200"
curl -sS -H "$AUTH" "$BASE/receipts?limit=200"
curl -sS -H "$AUTH" "$BASE/therapy-plans?limit=200"

# One record by id (take the id from a list), for example a patient
curl -sS -H "$AUTH" "$BASE/patients/$PATIENT_ID"