Version 2

Changelog:

  • standardized response structure

  • enabled multi-device for objects

  • structure allows for adding additional details to devices

Get Object by ID

get

Retrieves details for a specific object based on its ID.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
object_idstringRequired

The unique identifier for the object.

Example: obj_building_123
Responses
200

Object details retrieved successfully.

application/json
get
/objects/{object_id}

Get All Objects

get

Retrieves a list of all objects accessible by the client, including their devices.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Responses
200

List of objects retrieved successfully.

application/json
get
/objects

Get Devices for Object

get

Retrieves a list of devices associated with a specific object.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
object_idstringRequired

The unique identifier for the object.

Example: obj_building_123
Responses
200

List of devices retrieved successfully.

application/json
get
/objects/{object_id}/devices

Get Device by ID

get

Retrieves details for a specific device within an object.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
device_idstringRequired

The unique identifier for the device.

Example: dev_thermostat_01
object_idstringRequired

The unique identifier for the object containing the device.

Example: obj_building_123
Responses
200

Device details retrieved successfully.

application/json
get
/objects/{object_id}/devices/{device_id}

Send 'open' Action to Device

post

Sends an 'open' command action to a specific device.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
device_idstringRequired

The unique identifier for the device.

Example: dev_doorlock_1A
object_idstringRequired

The unique identifier for the object containing the device.

Example: obj_building_123
Body
actionstring Β· enumRequired

The action to perform.

Possible values:
Responses
200

Action command successfully executed.

application/json
post
/objects/{object_id}/devices/{device_id}/actions

Last updated