History/GPS points
GPS pointstoken required
GPS positions in a time window of up to 24 hours.
GET
/daas/v1/gps-pointsParameters
| Name | Type | Required | Description |
|---|---|---|---|
from | date | required | Window start (ISO-8601 UTC).e.g. 2026-10-27T00:00:00Z |
to | date | required | Window end (ISO-8601 UTC). At most 24 hours after from.e.g. 2026-10-27T06:00:00Z |
vehicleId | string | optional | Only this vehicle (a vehicle id, e.g. 1-1807952). |
pageToken | string | optional | The nextPageToken of the previous page. Omit for the first page. |
limit | number | optional | Records per call. Default and maximum 40,000.e.g. 100 |
Notes
Pages come in time order. When
nextPageToken is not null, send it back with the same from, to and filters for the next page.Request
curl
curl 'https://private.stage.questar.io/v2/private-questar-units/daas/v1/gps-points?from=2026-10-27T00:00:00Z&to=2026-10-27T06:00:00Z&limit=100' \ -H 'Authorization: Bearer YOUR_TOKEN'
URL
GET https://private.stage.questar.io/v2/private-questar-units/daas/v1/gps-points?from=2026-10-27T00:00:00Z&to=2026-10-27T06:00:00Z&limit=100Response
200 OK
{
"data": [
{
"id": "1-535572805",
"vehicleId": "1-1295501",
"time": "2026-10-28T05:06:04.000Z",
"latitude": 32.291089,
"longitude": 34.985256,
"speed": 0
}
],
"nextPageToken": "eyJvIjoiMjAyNi0xMC0yN1QxNzowNjoxOC4wMDBaIiwiaWQiOiIxLTMzODk2NyJ9"
}Errors use HTTP status codes with a body of { error: { code, message } }: 400 a bad parameter, 401 a missing or invalid token, 404 no record with that id, 500 a server error.
400 Bad Request
{
"error": {
"code": "bad_request",
"message": "History is limited to 24 hours per call"
}
}