Skip to main content
GET
List patients
Returns the patients on your account — everyone, whether or not they have ever ordered. Scope comes entirely from your token, so you only ever see your own. Page with page and perPage, and order with sortBy / sortOrder (see Pagination).

Fetching specific patients

Pass patientId to fetch patients you already know, one or up to 100 at a time:
Don’t issue one request per patient — a comma-separated list resolves a batch in one call. The response keeps the same envelope, plus a notFound array listing the ids that matched nothing:
An unknown id is not an error — the request still returns 200. The order of patients isn’t guaranteed to match the order you asked for, so match on patientId.

The shape is the same everywhere

A patient here has exactly the fields that Create and Update take, so you can read a record, change one value, and send it straight back. A field with no value comes back as null — never an empty string or a missing key — and address itself is null when the patient has none.

Authorizations

Authorization
string
header
required

OAuth2 client credentials. Generate a client ID and client secret in the Portal, exchange them for an access token, then send Authorization: Bearer <access_token>. Request the result and report scopes to read results.

Query Parameters

patientId
string

Fetch specific patients. One id, or up to 100 comma-separated (?patientId=123,456,789) — one request per patient is unnecessary. Ids that match nothing come back in notFound rather than as an error.

page
integer
default:1

1-based page number.

Required range: x >= 1
perPage
integer
default:20

Page size (1–100; values above 100 are clamped to 100).

Required range: 1 <= x <= 100
sortBy
enum<string>
default:createdAt

Sort field.

Available options:
createdAt,
patientName,
patientId
sortOrder
enum<string>
default:desc

Sort direction.

Available options:
asc,
desc

Response

One page of patients, with the total count.

patients
object[]
count
integer

Total patients matching the request, across all pages.

Example:

342

page
integer

Echoed back. Absent when fetching by patientId.

Example:

1

perPage
integer

Echoed back. Absent when fetching by patientId.

Example:

20

notFound
integer[]

Ids from patientId that matched no patient. Present only when fetching by id; an unknown id is not an error.

Example: