Table of Contents |
---|
Device
...
list
Device category | Device name | Device type |
---|---|---|
Pulse, Oximeter |
|
|
Scale |
|
|
Active Minutes, Steps |
|
|
|
| |
Blood Pressure |
|
|
Glucose Meters |
|
|
Thermometer |
|
|
...
Data classifications
Data | Data Class | Data Type | Unit | Unit value | Type | Range | |
---|---|---|---|---|---|---|---|
1 | Temperature |
|
|
|
|
| |
2 | Blood Glucose |
|
|
|
| ||
3 | Blood Pressure |
|
|
|
|
| |
4 | Weight |
|
|
|
|
| |
5 | Active Minutes |
|
|
| |||
6 | Steps |
|
|
| |||
7 | Pulse |
|
|
| |||
8 | Blood Oxygen |
|
|
| |||
9 | Illuminance |
|
|
|
| ||
10 | Humidity |
|
|
|
| ||
11 | Gas |
|
| ||||
12 | Movement |
|
|
|
|
|
|
13 | Noise |
|
|
|
|
|
|
14 | Range |
|
|
|
|
|
|
APIs
POST /users/{user_id}/devices
Device registration
Parameters
Parameter | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| Device unique ID |
|
| Device name (in device table) |
|
| Device type (in device table) |
ResponseE.g.
Code Block | ||
---|---|---|
| ||
request: POST https://api.vsee.mevseepreview.com/vc/stable/api_v3/rooms" /users/905/devices headers: { "dataX-AccountCode": [{ "vclinic", "slug"X-ApiKey": "room1vclinic_api_secret", "nameX-ApiToken": "Room 1", vclinic_api_token" } parameters: { "domaindevice_id": "demo.vsee.me004D320DCAA2", "code"device_name": "room1_codeThermometer PT3SBT", "created": 1427922788, "modified": 1427922788 }, ...] } |
...
"type": "ihealth_thermometer_pt3sbt"
}
|
POST /api_v3/health
Parameters
Parameter | Type | Description |
---|---|---|
|
| |
|
| |
|
|
Clinic Admin token (app token)
domain
String
Clinic’s domain
code
String
(optional) Room code (should be unique)
slug
String
(optional) Set this room as default, other rooms will lose default status.
name
String
Room's name
Response
...
|
| Device type (in device table) |
|
| Recorded date (yyyy-mm-dd) |
|
| Unix timestamp |
|
| Device unique ID |
|
| Data type (in data table) |
|
| |
Data Value |
| Data type = value |
Data Unit |
| Data unit = unit value |
E.g.
Code Block | ||
---|---|---|
| ||
request: POST https://api.vsee.mevseepreview.com/vc/stable/api_v3/rooms' \ --header 'X-AccountCode: vclinic' \ --header 'X-ApiToken: 83ec6843c3af534c551ab609d869dd82' \ --form 'domain=vclinic.vsee.me' \ --form 'slug=provider00102' \ --form 'name=provider00102 room' { "data": { "visits": { "walkin": { "enabled": true }, "appointment": { "enabled": false } }, "auth": { "guest": { "type": 600, "log_in": { "enabled": true } } }, "subtitle": "If this is an emergency, please call 911.", "slug": "provider00102", "name": "provider00102 room", "domain": "vclinic.vsee.me", "active": true, "users": "85741", "account_code": "clinic", "provider_ids": [ "85741" ], "public_access_room": true, "modified": 1605728974, "created": 1605728974, "payment": { "consultations": [ { "id": "5fb57ace-4808-4346-ad3c-3348925862c1", "description": "15-min Consultation", "duration": 15, "amount": 0, "group": false, "charge": false, "slots": 1 } ], "currency": "USD", "__note__": "paymentCurrency will be deprecated by 1 Jun 2017" }, "operation_settings": { "is_closed": false, "close_msg": "Service currently not available. Please check back later", "default_timezone": "America/Los_Angeles" }, "id": "171", "code": "b4vjj" } } |
If room already exists (http response code 400):
Code Block |
---|
{
"code": 400,
"message": "In domain 'vclinic.vsee.me' slug 'uat2' already exists."
} |
POST /users/:id/rooms
Associate a room to a user
Parameters
...
Parameter
...
Type
...
Description
...
code
...
String
...
Room code
...
default
...
Boolean
...
(optional) Set this room as default, other rooms will lose default status.
Response
Code Block |
---|
curl --location --request POST 'https://api.vsee.me/api_v3/users/85741/rooms' \ --header 'X-AccountCode: vclinic' \ --header 'X-ApiToken: 83ec6843c3af534c551ab609d869dd82' \ --form 'code=b4vjj'' { "data": [ { "_id": "171", "slug": "provider00102", "name": "provider00102 room", "domain": "clinic.vseepreview.com", "code": "b4vjj", "active": true, "users": "85741", "account_code": "clinic", "provider_ids": [ "85741" ], "public_access_room": true, "modified": { "sec": 1605728974, "usec": 177000 }, "created": { "sec": 1605728974, "usec": 177000 }, "payment": { "consultations": [ { "id": "5fb57ace-4808-4346-ad3c-3348925862c1", "description": "15-min Consultation", "duration": 15, "amount": 0, "group": false, "charge": false, "slots": 1 } ] }, "default": false } ] }health headers: { "X-AccountCode": "vclinic", "X-ApiKey": "vclinic_api_key", "X-ApiToken": "vclinic_api_token" } parameters: { "type": "ihealth_thermometer_pt3sbt", "date": "2021-08-25", "time": 1695626540, "device_id": "004D320DCAA2", "data_type": "temperature_body", "data_class": "body", "temperature_body": "36.76", "temperature_unit": "cel" } |
parameters for blood glucose
Code Block |
---|
"data_type": "bg",
"bg": 100,
"bg_unit": "mg/dL" |
parameters for blood pressure
Code Block |
---|
"data_type": "bp",
"hp": 100,
"lp": 90,
"bp_unit": "mmHg" |
parameters for weight
Code Block |
---|
"data_type": "weight",
"weight": 100,
"weight_unit": "lbs" |
parameters for active minutes & steps
Code Block |
---|
"data_type": "active_minutes",
"active_minutes": 100,
"steps": 1000 |
parameters for pulse & blood oxygen
Code Block |
---|
"data_type": "hr",
"hr": 100,
"bo": 100 |