Trip replay (V2)
curl --request GET \
--url https://api.telemax.com.au/v2/api/replay/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.telemax.com.au/v2/api/replay/{id}"
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/replay/{id}', 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/replay/{id}",
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/replay/{id}"
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/replay/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telemax.com.au/v2/api/replay/{id}")
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": [
{
"distance": 14,
"duration": "00:20:22",
"startAddress": "31, Diamantina Cir, Karalee, Brisbane, Qld, AUS",
"endAddress": "5, Gordon St, Ipswich, Brisbane, Qld, AUS",
"startTimeUser": "05/12/2026 08:09:09",
"endTimeUser": "05/12/2026 08:29:31",
"encoded": "_p~iF~ps|U_ulLnnqC_mqNvxq`@",
"url": "https://maps.googleapis.com/maps/api/staticmap?...",
"points": [
{
"lat": -27.536263,
"lng": 152.840733,
"timeUtc": "2026-05-12T01:09:09",
"speed": 0,
"direction": 260,
"ignition": true,
"timeUser": "2026-05-12T08:09:09",
"odo": 47465,
"fuelLevel": 92,
"fuelVolume": null
}
]
}
],
"totalResults": 31,
"lastResultIndex": 1,
"currentPage": 1,
"numberOfPages": 31
}{
"type": "AUTHENTICATION",
"code": "INVALID_CREDENTIALS",
"description": "The provided API key is invalid or does not exist.",
"requestId": "0HNLTALNU4DCO:00000004",
"docUrl": "https://docs.telemax.com.au/errors/invalid-credentials"
}{
"type": "AUTHORIZATION",
"code": "INVALID_SCOPE",
"description": "The provided token does not have permission to access this resource.",
"requestId": "50e5c5f7-ccae-4ab6-b070-56d6645ceb1e",
"docUrl": "https://docs.telemax.com.au/errors/invalid-scope"
}{
"type": "RESOURCE",
"code": "NOT_FOUND",
"description": "Vehicle was not found.",
"requestId": "0HNLTALNU4DDO:00000003",
"docUrl": "https://docs.telemax.com.au/errors/not-found"
}{
"type": "VALIDATION_ERROR",
"code": "INVALID_INPUT",
"description": "One or more route or query parameters could not be parsed.",
"requestId": "req_9f3e7c1b",
"docUrl": "https://docs.telemax.com.au/errors/invalid-input"
}{
"type": "RATE_LIMIT",
"code": "RATE_LIMIT_EXCEEDED",
"description": "Too many requests. Please slow down.",
"requestId": "req_6d2f8b4a",
"docUrl": "https://docs.telemax.com.au/errors/rate-limit-exceeded"
}{
"type": "SERVER_ERROR",
"code": "INTERNAL_SERVER_ERROR",
"description": "An unexpected error occurred. Please try again later.",
"requestId": "req_1e5a3c7d",
"docUrl": "https://docs.telemax.com.au/errors/internal-server-error"
}Telemetry & replay
Trip replay
Paginated trip replay for a vehicle within a date range.
GET
/
v2
/
api
/
replay
/
{id}
Trip replay (V2)
curl --request GET \
--url https://api.telemax.com.au/v2/api/replay/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.telemax.com.au/v2/api/replay/{id}"
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/replay/{id}', 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/replay/{id}",
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/replay/{id}"
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/replay/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telemax.com.au/v2/api/replay/{id}")
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": [
{
"distance": 14,
"duration": "00:20:22",
"startAddress": "31, Diamantina Cir, Karalee, Brisbane, Qld, AUS",
"endAddress": "5, Gordon St, Ipswich, Brisbane, Qld, AUS",
"startTimeUser": "05/12/2026 08:09:09",
"endTimeUser": "05/12/2026 08:29:31",
"encoded": "_p~iF~ps|U_ulLnnqC_mqNvxq`@",
"url": "https://maps.googleapis.com/maps/api/staticmap?...",
"points": [
{
"lat": -27.536263,
"lng": 152.840733,
"timeUtc": "2026-05-12T01:09:09",
"speed": 0,
"direction": 260,
"ignition": true,
"timeUser": "2026-05-12T08:09:09",
"odo": 47465,
"fuelLevel": 92,
"fuelVolume": null
}
]
}
],
"totalResults": 31,
"lastResultIndex": 1,
"currentPage": 1,
"numberOfPages": 31
}{
"type": "AUTHENTICATION",
"code": "INVALID_CREDENTIALS",
"description": "The provided API key is invalid or does not exist.",
"requestId": "0HNLTALNU4DCO:00000004",
"docUrl": "https://docs.telemax.com.au/errors/invalid-credentials"
}{
"type": "AUTHORIZATION",
"code": "INVALID_SCOPE",
"description": "The provided token does not have permission to access this resource.",
"requestId": "50e5c5f7-ccae-4ab6-b070-56d6645ceb1e",
"docUrl": "https://docs.telemax.com.au/errors/invalid-scope"
}{
"type": "RESOURCE",
"code": "NOT_FOUND",
"description": "Vehicle was not found.",
"requestId": "0HNLTALNU4DDO:00000003",
"docUrl": "https://docs.telemax.com.au/errors/not-found"
}{
"type": "VALIDATION_ERROR",
"code": "INVALID_INPUT",
"description": "One or more route or query parameters could not be parsed.",
"requestId": "req_9f3e7c1b",
"docUrl": "https://docs.telemax.com.au/errors/invalid-input"
}{
"type": "RATE_LIMIT",
"code": "RATE_LIMIT_EXCEEDED",
"description": "Too many requests. Please slow down.",
"requestId": "req_6d2f8b4a",
"docUrl": "https://docs.telemax.com.au/errors/rate-limit-exceeded"
}{
"type": "SERVER_ERROR",
"code": "INTERNAL_SERVER_ERROR",
"description": "An unexpected error occurred. Please try again later.",
"requestId": "req_1e5a3c7d",
"docUrl": "https://docs.telemax.com.au/errors/internal-server-error"
}Overview
Returns a paginated list of trips for the vehicle betweenfrom and to (both UTC), ordered oldest first. Each trip includes route points, addresses, and a Google Polyline encoded path.
This endpoint is equivalent to V1 Trip Replay (UTC) and Trip replay (user time). V2 is paginated.
Rate limit: 4 req/s · 20/min · 600/hr · 14,400/day
Endpoint
GET /v2/api/replay/{id}
Path parameters
integer
required
Vehicle ID.
Query parameters
string (datetime)
Range start (UTC, ISO 8601).
string (datetime)
Range end (UTC, ISO 8601).
integer
default:"1"
Page number (1-based).
integer
default:"50"
Records per page (max 500).
Response
200 OK —PagedListResult<TripDto>
| Field | Type | Description |
|---|---|---|
| distance | number | null | Trip distance in km (odometer delta — see note below) |
| duration | string | Trip duration as .NET TimeSpan string: "hh:mm:ss" for < 1 day, "d.hh:mm:ss.fffffff" for ≥ 1 day |
| startAddress | string | Reverse-geocoded start address |
| endAddress | string | Reverse-geocoded end address |
| startTimeUser | string | Trip start in user’s timezone (formatted string) |
| endTimeUser | string | Trip end in user’s timezone (formatted string) |
| encoded | string | Google Polyline Algorithm encoded path — decode with any standard polyline library |
| url | string | Google Static Maps thumbnail URL (⚠ requires valid API key configured server-side) |
| points | array | Array of PointDto — see below |
distance is in km, not metres. It is calculated as lastPoint.odometer − startPoint.odometer where odometer is stored in km. A value of 11.34 means 11.34 km.duration is a .NET TimeSpan serialised without a custom converter — format is "03:05:50" (hh:mm:ss) or "2.04:04:21.0100000" (d.hh:mm:ss.fffffff) for multi-day trips. It is not ISO 8601.PointDto fields (items in points). All field names are camelCase — no [JsonPropertyName] overrides.
| Field | Type | Description |
|---|---|---|
| lat | number | Latitude |
| lng | number | Longitude |
| timeUtc | datetime | Point timestamp (UTC, no fractional seconds) |
| speed | number | Speed at this point (km/h) |
| direction | number | Compass heading in degrees (N=0, E=90, S=180, W=270) |
| ignition | boolean | Ignition state at this point |
| timeUser | datetime | Point timestamp in the user’s timezone |
| odo | number | null | Odometer reading at this point (km) |
| fuelLevel | integer | null | Fuel level at this point (%) |
| fuelVolume | number | null | Fuel volume at this point (litres) |
Error responses
| Status | Meaning |
|---|---|
| 401 | Token does not have access to this vehicle |
| 403 | Token scope does not include replay access |
| 404 | Vehicle not found |
| 422 | Invalid date range |
curl "https://api.telemax.com.au/v2/api/replay/88421?from=2026-04-01T00:00:00Z&to=2026-04-02T00:00:00Z&page=1&pageSize=20" \
-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 to the company the key belongs to and may restrict access to a vehicle allowlist and/or action set (see token claims).
No refresh endpoint — re-authenticate with your API key when the token expires.
Path Parameters
Query Parameters
Required range:
x <= 500Response
Successful response
Was this page helpful?
⌘I