Skip to content

List objects

Deprecated
GET
/objects/list.json
curl --request GET \
--url https://example.com/api/v1.25f/objects/list.json \
--header 'Authorization: <Authorization>'

Deprecated. For new integrations, use GET /devices and read the returned object_id and object_name values there. Returns the list of objects available to the authenticated token.

Successful response containing object list

Media typeapplication/json
object
data
required

Array of object entries

Array<object>
object
object_id
required

Unique identifier for the object

integer format: int64
object_name
required

Human-readable name of the object

string

Examples

Exampleobject_list

Example object list response

{
"data": [
{
"object_id": 31021,
"object_name": "Riga Plant - Building 3"
},
{
"object_id": 31022,
"object_name": "Riga Plant - Warehouse"
}
]
}

Error response with details

Media typeapplication/json
object
error
required

Description of the error

string
parent

Parent error if this is a nested error

string

Examples

Invalid time range error

{
"error": "time_to must be after time_from"
}