curl --request GET \
  --url https://api.splose.com/v1/patients \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 1,
      "firstname": "Harry",
      "lastname": "Potter",
      "middleName": "James",
      "preferredName": "Harry",
      "title": "Mr.",
      "email": "harry@hogwarts.edu",
      "sex": "Male",
      "genderIdentity": "Man",
      "pronouns": "They/them",
      "alert": "He knows magic",
      "birthdate": "1996-07-30T00:00:00.000Z",
      "timezone": "Australia/Adelaide",
      "extraInfo": "Some extra info",
      "extraBillingInfo": "Some extra billing info",
      "addressL1": "123 King William Street",
      "addressL2": "<string>",
      "addressL3": "<string>",
      "city": "Adelaide",
      "state": "SA",
      "postalCode": "5000",
      "country": "Australia",
      "phoneNumbers": [
        {
          "type": "Mobile",
          "code": "+61",
          "phoneNumber": "401234567"
        }
      ],
      "privacyPolicy": "Accepted",
      "healthFund": {
        "name": "AHM",
        "membershipNumber": "12345678",
        "patientNumber": "1",
        "cardIssueNumber": "01"
      },
      "ndisNumber": "430123456",
      "medicareNum": "4444444444",
      "irn": "1",
      "veteransFileNumber": "<string>",
      "emergencyContactNumber": "0412345678",
      "emergencyContactName": "Quentin Neely",
      "emergencyContactRelationship": "Brother",
      "patientTags": [
        "Self-managed"
      ],
      "archived": true,
      "createdAt": "2023-07-30T09:00:00.000Z",
      "updatedAt": "2023-07-30T09:00:00.000Z"
    }
  ],
  "links": {
    "previousPage": "/v1/${object_type}?id_gt=200",
    "nextPage": "/v1/${object_type}?id_lt=100"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id_gt
integer | null

The starting object id of the next page

id_lt
integer | null

The starting object id of the previous page

update_gt

Search for objects updated after this date time

update_lt

Search for objects updated before this date time

include_archived
enum<string> | null
default: false

Whether archived objects should be retrieved, default is false

Available options:
true,
false
firstname
string | null

Patient firstname

lastname
string | null

Patient lastname

email
string | null

Patient email

birthdate
string | null

Patient birth date in YYYY-MM-DD format

phoneNumber
string | null

Patient phone number without country code

patientTag
string | null

Patient tag

Response

200 - application/json
data
object[]
required
links
object
required