curl --request GET \
  --url https://api.splose.com/v1/patients \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "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",
      "invoiceRecipientId": 1,
      "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": "",
      "addressL3": "",
      "city": "Adelaide",
      "state": "SA",
      "postalCode": "5000",
      "country": "Australia",
      "phoneNumbers": [
        {
          "type": "Mobile",
          "code": "+61",
          "phoneNumber": "401234567"
        }
      ],
      "privacyPolicy": "Accepted",
      "ndisNumber": "430123456",
      "ndisInfo": {
        "diagnosis": "Foot Injury",
        "nomineeEmail": "nominee@email.com",
        "fundManagement": "Plan-managed",
        "nomineeLastName": "Clark",
        "nomineeFirstName": "Chris",
        "nomineeMobileCode": "+61",
        "nomineeMobileNumber": "433555111",
        "startDate": "2024-02-09T00:00:00.000Z",
        "endDate": "2024-02-18T00:00:00.000Z"
      },
      "medicareNum": "4444444444",
      "irn": "1",
      "veteransFileNumber": "",
      "emergencyContactNumber": "0412345678",
      "emergencyContactName": "Quentin Neely",
      "emergencyContactRelationship": "Brother",
      "archived": false,
      "id": 1,
      "patientTags": [
        "Self-managed"
      ],
      "customFields": [
        {
          "name": "<string>",
          "value": "<string>"
        }
      ],
      "healthFund": {
        "name": "AHM",
        "membershipNumber": "12345678",
        "patientNumber": "1",
        "cardIssueNumber": "01"
      },
      "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
header
required

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

Example:

200

id_lt
integer | null

The starting object id of the previous page

Example:

100

update_gt

Search for objects updated after this date time

Example:

"2023-07-30T09:00:00.000Z"

update_lt

Search for objects updated before this date time

Example:

"2023-07-30T09:00:00.000Z"

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

Example:

"Harry"

lastname
string | null

Patient lastname

Example:

"Potter"

email
string | null

Patient email

Example:

"harry@hogwarts.edu"

birthdate
string | null

Patient birth date in YYYY-MM-DD format

Example:

"1990-01-01T00:00:00.000Z"

phoneNumber
string | null

Patient phone number without country code

Example:

"0412345678"

patientTag
string | null

Patient tag

Example:

"Self-managed"

Response

200 - application/json
A paged array of patients
data
object[]
required