- ZenSpace Integration Documentation
- ZenSpace General Architecture - Overview
- ZenSpace API V1.0
- ZenSpace API V2.0
- Device Management
- lock
- camera
- light
- fan
- o3-sensor
- temprature
- buzzer
- occupancy
- ring-light
- Action on IoT DevicePOST
- Get Device ControlPOST
- Subscribe to Device EventsGET
- Get Device StatusPOST
- Get Device InstructionGET
- meeting-room-display
- Fetch Associated Device TypesGET
- Get Device Instruction CopyGET
- lock
- Bookings
- Meeting Space
- Device Management
- ZenSpace Supported Devices
Get Device Status
Developing
POST
/devices/{meeting_space_id}/status
Device Management
Request
Path Params
meeting_space_id
string
required
Header Params
X-API-Key
string
required
Example:
your-api-key
Body Params application/json
device_type
string
required
Example:
o3-sensor
sub_device
string
required
Example:
temprature
Example
{
"device_type": "o3-sensor",
"sub_device":"temprature"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/devices//status' \
--header 'X-API-Key: your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_type": "o3-sensor",
"sub_device":"temprature"
}'
Responses
🟢200OK
application/json
Body
response
object
optional
Example:
{"device":"temperature","value":"24","status":"online/offline"}
device
string
optional
Example:
temperature
value
string
optional
Example:
24
status
string
optional
Example:
online/offline
Example
{
"response": {
"device": "temperature",
"value": "24",
"status": "online/offline"
}
}
🟠404Record Not Found
🔴500Server Error
Modified at 2025-05-09 12:02:10