Skip to main content
GET
/
patients
/
fetch_patients
cURL
curl --request GET \
  --url https://api.iolokis.com/patients/fetch_patients \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "first_name": "<string>",
    "last_name": "<string>",
    "age": 123,
    "gender": "<string>",
    "dirPath": [
      "<string>"
    ],
    "phone_number": "<string>",
    "workspace_id": 123
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

workspace_id
integer

Workspace ID is used to filter patients. If not provided, all patients will be returned.

Response

id
string<uuid>
required

Patient unique identifier.

first_name
string
required
last_name
string
required
age
integer
required
gender
string
required
dirPath
string[]
required
phone_number
string
required
workspace_id
integer
required