Patients

List Patients

GET
Retrieves a paginated list of patients. Optional parameters allow specifying the page number and page size.

Query parameters

pageintegerOptional
The page number of the content returned.
sizeintegerOptional
The size of the page of content returned.
sortenumOptional
The attribute to sort on.
Allowed values: firstNamelastNamepatientId
sortDescendingbooleanOptional
True if the sort direction should be descending.
idintegerOptional
Lists only patients with the IDs provided.
siteIdintegerOptional
Lists only patients with the site IDs provided.
externalIdentifierstringOptional
Lists only patients with the external identifiers provided.
emailstringOptional
Lists only patients with the provided email.
namestringOptional
Lists only patients with the provided name.
archivedbooleanOptional
Lists only patients who are archived.
enrolledbooleanOptional
Lists only patients who are enrolled.
dateOfBirthMinstringOptional
Lists only patients born on or after the provided date.
dateOfBirthMaxstringOptional
Lists only patients born on or before the provided date.
postalCodestringOptional
Lists only patients with the provided postal code.
countrystringOptional
Lists only patients with the provided country.

Response

This endpoint returns an object
content
list of objectsOptional
The content of the page, consisting of a list of objects.
page
integerOptional
The current page number. The first page has value 1.
size
integerOptional
The current page size. Default 15, maximum 250.
total
integerOptional
The number of objects matching the request.
first
booleanOptional
True if this is the first page, false otherwise.
last
booleanOptional
True if this is the last page, false otherwise.