Get Sensor Data

Returns all sensor readings for a particular sensor over a specified time range.

Responses will include the start and end time of the data requested and device information (ID, serial number) alongside the readings.

Log in to see full request history
Query Params
string
required

The unique identifier of the organization.

string
required

The unique identifier of the device.

integer

The start of the time range for requested sensor data.
Formatted as a Unix timestamp in seconds.
Defaults to an hour from the current time.

integer

The end of the time range for requested sensor data.
Formatted as a Unix timestamp in seconds.
Defaults to the current time.

integer

The pagination token used to fetch the next page of results.

integer
0 to 200
Defaults to 100

The number of items returned in a single response.
Default is 100. Max is 200.

string

One or multiple comma separated values from humidity, motion, noise_level, pm_2_5, tamper, temperature, tvoc, usa_air_quality_index, vape_index.

If blank, all sensor readings will be returned in the response.

string

The time interval for the requested sensor data.

Data is stored with 1s granularity for 30 days, and with 5m resolution for data between 30 days and 365 days old.

Supported formats are s, m, and h for seconds, minutes, and hours, respectively.

If left blank, a default resolution will be calculated.

Response

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json