Use this page to find the right endpoint for what you’re trying to do. Each section maps a common task to the endpoint that handles it.
Tracking & location
| I want to… | Endpoint |
|---|
| See where all my vehicles are right now | POST /api/GetAllLastPositionData/{companyId} |
| See where one vehicle is right now | POST /api/GetLastPositionData |
| Find vehicles near a point on the map | POST /api/GetNearest |
| See the route a vehicle drove (with polyline) | POST /api/GetReplayUserTime or POST /api/GetReplay |
| Get raw GPS point history for a vehicle | POST /api/GetPositionData |
| Check when a vehicle last had a GPS fix | POST /api/GetAllLastTimeOnline/{companyId} or POST /api/LastTimeOnline/{vehicleId} |
| Ping a device for an immediate position update | POST /api/UpdateLocation |
Fleet & vehicle management
| I want to… | Endpoint |
|---|
| Get my company ID (needed for most calls) | POST /api/GetCompanies |
| List all vehicles in the company | POST /api/devices |
| Look up a vehicle ID from its SIM/device IMEI | GET /api/GetDeviceId/{imei} |
| Rename a vehicle | POST /api/SetVehicleName |
| Update a vehicle’s odometer reading | POST /api/ChangeOdometer |
Alerts
| I want to… | Endpoint |
|---|
| Retrieve recent alerts (speeding, geofence, etc.) | POST /api/GetAlerts |
| Mark one alert as handled | POST /api/SetAlertAsRead |
| Clear all alerts for a company at once | POST /api/SetAllAlertAsRead |
Vehicle health & diagnostics
| I want to… | Endpoint |
|---|
| Get battery voltage and predicted health for the fleet | POST /api/GetCompanyVehiclesBatteryHealth |
| Get OBD-II / CAN fault codes from a vehicle | GET /api/devices/{id}/dtc-codes |
| Get per-trip safety / risk scores for a vehicle | POST /api/GetSafetyScore |
Remote commands
| I want to… | Endpoint |
|---|
| Enable or disable the ignition remotely | POST /api/SendIgnition |
| Lock or unlock a door (ATrack devices only) | POST /api/SendDoorLock |
Setup & testing
| I want to… | Endpoint |
|---|
| Authenticate and get a token (API key) | POST /api/Authentication/token/api-key |
| Authenticate and get a token (username + password) | POST /api/Authentication/token/user |
| Check the API is reachable (no auth needed) | POST /api/Test |
Most endpoints require a companyId. If you don’t have it, call POST /api/GetCompanies first — the Id on the first result is your primary company ID.