Skip to content

Get device readings

GET
/devices/{id}/readings

Gets readings that a device has taken, such as battery voltage, temperature, humidity etc.

Use filtering to get a specific type.

Authorizations

ApiKeyAuth

API Key for authentication. Retrieval from either API version login routes, or other authentication token type. See Authentication for more details.

TypeAPI Key (header: Authorization)
ExampleeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Parameters

Path Parameters

id*

device id

Typenumber
Required
formatinteger

Query Parameters

filter

JSON Filter object

Typestring
Example{"limit":10,"order":["timestamp DESC"]}{"where":{"type":"temp"},"limit":10,"order":["timestamp DESC"]}{"where":{"type":"temp","timestamp":{"between":["2024-12-01T00:00:00.000Z","2024-12-01T23:59:59.999Z"]}},"order":["timestamp DESC"]}
formatJSON

Responses

Request was successful
application/json
JSON
[
{
"timestamp": "string",
"created": "string",
"type": "string",
"value": {
},
"rssi": 0,
"meta": {
},
"relatedId": 0,
"correlationId": "string",
"id": 0,
"gatewayId": 0,
"deviceId": 0,
"sensorDeviceId": "string",
"datapointId": 0
}
]

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python