Skip to main content
GET
/
v1
/
patients
List patients for the authenticated tenant
curl --request GET \
  --url https://cds.marmar.life/v1/patients \
  --header 'X-API-Key: <api-key>' \
  --header 'X-Tenant-Code: <api-key>'
{
  "patients": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "demographics": {
        "firstName": null,
        "lastName": null,
        "dateOfBirth": null,
        "sex": "MALE",
        "genderIdentity": null,
        "weightKg": null,
        "heightCm": null,
        "ethnicity": null
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "externalId": "<string>"
    }
  ]
}

Authorizations

X-Tenant-Code
string
header
required

Tenant slug returned during registration.

X-API-Key
string
header
required

Tenant API key. The server also accepts the lowercase x-api-key header for convenience.

Response

Patient roster for the tenant

patients
object[]
required