Device Table | ||
---|---|---|
Device category | Device name | Device type |
Pulse, Oximeter | Pulse Oximeter PO3M | ihealth_po_po3 |
Scale | Scale HS2S | ihealth_scale_hs22 |
Active Minutes, Steps | Apple Health | applehealth |
Samsung Health | samsunghealth | |
Blood Pressure | Blood Pressure RPM-BP100 | welchallync_bp_bp100 |
Glucose Meters | Glucose Meters Gluco+/BG5S | ihealth_bg_bg5s |
Thermometer | Thermometer PT3SBT | ihealth_thermometer_pt3sbt |
POST /users/{user_id}/devices
Parameters
Parameter | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Device unique ID |
|
| Device name (in device table) |
|
| Device type (in device table) |
E.g.
request: POST https://api.vsee.io/vc/next/api_v3/users/905/devices headers: { "X-AccountCode": ***account_code***, "X-ApiKey": ***api_key***, "X-ApiToken": ***api_token*** } parameters: { "device_id": "004D320DCAA2", "device_name": "Thermometer PT3SBT", "type": "ihealth_thermometer_pt3sbt" }
Data Table | |||
---|---|---|---|
Data | Data Type | Unit | Unit value |
Temperature | temperature_body | temperature_unit | cel | fah |
Blood Glucose | bg | bg_unit | mg/dL | mmol/L |
Blood Pressure | hp, lp | bp_unit | mmHg | kPa |
Weight | weight | weight_unit | lbs | kg |
Active Minutes | active_minutes | ||
Steps | steps | ||
Pulse | hr | ||
Blood Oxygen | bo |
POST /api_v3/health
Parameters
Parameter | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Device type (in device table) |
|
| Recorded date (yyyy-mm-dd) |
|
| Device unique ID |
|
| Data type (in data table) |
Data Value |
| Data type = value |
Data Unit |
| Data unit = unit value |
E.g.
request: POST https://api.vsee.io/vc/next/api_v3/health headers: { "X-AccountCode": ***account_code***, "X-ApiKey": ***api_key***, "X-ApiToken": ***api_token*** } parameters: { "type": "ihealth_thermometer_pt3sbt", "date": "2021-08-25", "device_id": "004D320DCAA2", "data_type": "temperature_body", "temperature_body": "36.76", "temperature_unit": "cel" }
parameters for blood glucose
"data_type": "bg", "bg": 100, "bg_unit": "mg/dL"
parameters for blood pressure
"data_type": "bp", "hp": 100, "lp": 90, "bp_unit": "mmHg"
parameters for weight
"data_type": "weight", "weight": 100, "weight_unit": "lbs"
parameters for active minutes & steps
"data_type": "active_minutes", "active_minutes": 100, "steps": 1000
parameters for pulse & blood oxygen
"data_type": "hr", "hr": 100, "bo": 100