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.

idlongOptional

Lists only patients with the IDs provided.

siteIdlongOptional

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.
contentlist of objectsOptional

The content of the page, consisting of a list of objects.

pageintegerOptional

The current page number. The first page has value 1.

sizeintegerOptional

The current page size. Default 15, maximum 250.

totalintegerOptional

The number of objects matching the request.

firstbooleanOptional

True if this is the first page, false otherwise.

lastbooleanOptional

True if this is the last page, false otherwise.