- Documentation
- Blog
- Introduction
Patient
Service
Location
Practitioner
Appointment
Support activity
Support item
Invoice
Payment method
Availability
Payment
Get started
API Reference
Get a paged array of patients
Get a paged array of patients
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The starting object id of the next page
The starting object id of the previous page
Search for objects updated after this date time
Search for objects updated before this date time
Whether archived objects should be retrieved, default is false
true
, false
Patient firstname
Patient lastname
Patient email
Patient birth date in YYYY-MM-DD format
Patient phone number without country code
Patient tag
Response
Patient Id
Patient first name
Patient last name
Patient middle name
Patient preferred name
Patient title
Patient email
Patient sex
Patient gender identity
Patient pronouns
Patient alert messages
Patient birthdate in YYYY-MM-DD format
Patient timezone
Patient extra info
Patient extra billing info
Patient address line 1
Patient address line 2
Patient address line 3
Patient city
Patient state
Patient post code
Patient country
Phone number type
Mobile
, Home
, Work
, Fax
, Other
Phone country code
Phone number
Patient privacy policy status
No response
, Accepted
, Rejected
Health fund name
Health fund membership number
Health fund patient number
Health fund card issue number
Patient NDIS number
Patient Medicare number
Patient Medicare reference number
Patient veterans information
Patient emergency contact number
Patient emergency contact name
Patient emergency contact relationship
Patient tags
Whether the patient has been archived
Object creation date time
Object update date time
The link to retrieve next page
The link to retrieve previous page
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"
}
}