Position history (V2)
curl --request GET \
--url https://api.telemax.com.au/v2/api/vehicles/{id}/positions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.telemax.com.au/v2/api/vehicles/{id}/positions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.telemax.com.au/v2/api/vehicles/{id}/positions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telemax.com.au/v2/api/vehicles/{id}/positions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.telemax.com.au/v2/api/vehicles/{id}/positions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.telemax.com.au/v2/api/vehicles/{id}/positions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telemax.com.au/v2/api/vehicles/{id}/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"utcTime": "2026-04-01T00:14:15",
"userTime": "2026-04-01T11:14:15",
"lat": -27.443087,
"lng": 153.019897,
"speed": 0,
"ignition": false,
"odometer": 45103.6,
"internalBatteryVoltage": 12.07,
"deviceId": 88421,
"deviceName": "Delivery Van 07",
"fuelLevel": null,
"fuelVolume": null,
"batteryLevel": null,
"chargerPower": null,
"chargingEnergy": null,
"batteryRange": null
}
],
"totalResults": 35,
"lastResultIndex": 2,
"currentPage": 1,
"numberOfPages": 18
}Vehicles
Position history
Paginated historical position records for a vehicle within a date range.
GET
/
v2
/
api
/
vehicles
/
{id}
/
positions
Position history (V2)
curl --request GET \
--url https://api.telemax.com.au/v2/api/vehicles/{id}/positions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.telemax.com.au/v2/api/vehicles/{id}/positions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.telemax.com.au/v2/api/vehicles/{id}/positions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telemax.com.au/v2/api/vehicles/{id}/positions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.telemax.com.au/v2/api/vehicles/{id}/positions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.telemax.com.au/v2/api/vehicles/{id}/positions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telemax.com.au/v2/api/vehicles/{id}/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"utcTime": "2026-04-01T00:14:15",
"userTime": "2026-04-01T11:14:15",
"lat": -27.443087,
"lng": 153.019897,
"speed": 0,
"ignition": false,
"odometer": 45103.6,
"internalBatteryVoltage": 12.07,
"deviceId": 88421,
"deviceName": "Delivery Van 07",
"fuelLevel": null,
"fuelVolume": null,
"batteryLevel": null,
"chargerPower": null,
"chargingEnergy": null,
"batteryRange": null
}
],
"totalResults": 35,
"lastResultIndex": 2,
"currentPage": 1,
"numberOfPages": 18
}Overview
Returns position records for a vehicle fromfrom (inclusive) up to to (exclusive), both treated as UTC, ordered oldest first.
The V1 version of this endpoint is Position history. V2 is paginated.
Rate limit: 144,000 req/s · 144,000/min · 60/hr · 144,000/day — in practice 60 requests per hour per API key
Endpoint
GET /v2/api/vehicles/{id}/positions
Path parameters
integer
required
Public vehicle ID (
deviceId).Query parameters
string (datetime)
required
Range start (UTC, ISO 8601), inclusive.
string (datetime)
required
Range end (UTC, ISO 8601), exclusive: a record at exactly
to is not returned.integer
default:"1"
Page number (1-based).
integer
default:"50"
Records per page.
Response
200 OK —PagedListResult<MinPositionDto>
MinPositionDto is a compact position record:
| Field | Type | Description |
|---|---|---|
| utcTime | datetime | Record timestamp (UTC) |
| userTime | datetime | Record timestamp in the API key’s time zone |
lat / lng | number | Coordinates — see the note below |
| speed | number | Speed (km/h) |
| ignition | boolean | Ignition state |
| odometer | number | null | Odometer (km), from the same source as odometer in Last position |
| internalBatteryVoltage | number | null | Vehicle (12/24 V) battery voltage (V), despite the name |
| deviceId | integer | Public vehicle ID (the {id} in the path) |
| deviceName | string | Vehicle display name |
| fuelLevel | integer | null | Fuel level (%). Connected-car (Compass) vehicles report an electric vehicle’s battery charge here instead of in batteryLevel. |
| fuelVolume | number | null | Fuel volume (litres) |
| batteryLevel | integer | null | Traction battery level (%); electric vehicles and hybrids |
| chargerPower | number | null | Charger power (kW) |
| chargingEnergy | number | null | Energy delivered in the current charging session (kWh). It resets when a new session starts, so do not sum it across records. |
| batteryRange | number | null | Estimated remaining range (km) |
A record sent without a GPS fix repeats the last fix’s
lat, lng and speed. This endpoint has no satellite field to tell such records apart.Error responses
| Status | Meaning |
|---|---|
| 401 | Missing, invalid or expired bearer token (INVALID_CREDENTIALS) |
| 403 | The API key lacks this endpoint’s permission (INVALID_SCOPE), or the company is suspended (CompanySuspended) — see 403 Forbidden |
| 404 | Vehicle not found, or not in your companies |
| 422 | Invalid date range (e.g. from after to) |
curl "https://api.telemax.com.au/v2/api/vehicles/88421/positions?from=2026-04-01T00:00:00Z&to=2026-04-02T00:00:00Z&page=1&pageSize=50" \
-H "Authorization: Bearer <token>"
Authorizations
JWT Bearer token obtained from POST /v2/api/authentication/token/api-key.
Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.
Scoping: API key tokens are scoped by the key's company and its action set; see Token scoping.
No refresh endpoint — re-authenticate with your API key when the token expires.
Path Parameters
Query Parameters
Start of the date range (inclusive). Required — returns 422 if missing.
End of the date range (exclusive — a record at exactly to is not returned). Required — returns 422 if missing.
Response
Successful response
Was this page helpful?