Devices API
Get location history of device within a time range
Retrieve the location history of a device within a specific time range.
The Devices API is deprecated. New integrations should use the Workers API instead.
GET /devices/{device_id}/history
This endpoint retrieves the location history of a device within a specific time range.
Path parameters
| Name | Type | Description |
|---|---|---|
device_id | string | A string representing the ID of a tracked device, case sensitive. |
Query parameters
| Name | Type | Description |
|---|---|---|
from | string (date-time) | ISO 8601 timestamp indicating the start of the time range. Required. |
to | string (date-time) | ISO 8601 timestamp indicating the end of the time range. Required. |
Response
Returns 200 with the location history of the device.