Prerequisites — Create an API Key
Before making any API calls, you’ll need an API key. Head to the Telemax API Keys V2 section in the Telemax dashboard to create your own key.Navigate to Telemax Dashboard → API Keys V2 to generate a new API key. Copy the key and keep it secure — you’ll use it in the step below.
Step 1 — Get an access token
V2 token endpoints are at/v2/api/authentication/token/.... Interactive reference: API key token.
Step 2 — List your companies
UseGET /v2/api/companies to discover the company IDs your token can access. The Id on the first result is your primary company ID — you’ll need it for fleet and alert endpoints.
Step 3 — Get your fleet’s last positions
UseGET /v2/api/companies/{id}/vehicles/last-position with the company ID from Step 2 to fetch the current location of every vehicle.
PositionDto list with fields including DeviceId, DeviceName, Lat, Lng, UtcTime, Speed, Ignition.
Step 4 — Fetch a single vehicle’s last position
UseGET /v2/api/vehicles/{id}/last-position for a specific vehicle by its vehicle ID (DeviceId):
GET /v2/api/vehicles/{imei}/device-ids.
Common first errors
See Error handling for the full list of error codes and retry guidance.