| Method | Path | Purpose |
|---|---|---|
GET |
/api/dates-range |
No auth. Canonical range presets — TODAY, THIS_WEEK, PREVIOUS_MONTH, YEAR_TO_DATE, … Use these so your ranges match the platform's own boundaries |
ANY |
/api/get_geofences |
Geofences with polygon coordinates |
GET |
/api/geofence-groups |
Geofence groups |
GET |
/api/devices_in_geofences |
Which vehicles are inside which zones |
GET |
/api/point_in_geofences |
Which zones contain a point |
ANY |
/api/get_user_drivers |
Drivers with RFID |
ANY |
/api/search_drivers |
Driver search |
ANY |
/api/get_sensors |
Sensor definitions — needed to map io<N> to meaning |
ANY |
/api/get_device_commands |
Commands a vehicle supports |
GET |
/api/sent_commands |
Command audit log |
Sending a command to a vehicle
POST /api/send_gprs_command — over the live TCP session; vehicle must be connected
POST /api/send_sms_command — via SMS to the vehicle's SIM
Both write to the sent_commands audit log.