The Track My Ride API is split into modules relating to different components. Each module has various actions available. The variables are set as query parameters in the API request. For example to send a get request to the alerts module, use "module=alerts&action=get" in the requestion URL.

https://app.trackmyride.com.au/v2/php/api.php?api_key=GF83FDSa72hds82jfFD82js123j3284mw8223&user_key=gtr873ns2eDSf111&module=alerts&action=get

The following is a table containing all API modules and their associated actions.

NameDescriptionActions
alertsDevice-based notifications, including "Engine turned on", "Vehicle entered zone", "Vehicle maintenance due"get, save, delete, criteria
devicesPhysically tracked vehicles and devicesget, save, export, import, set_driver, playback
driversA driver of a vehicle or deviceget, save, delete
emergencyRelating to the actions that should be undertaken by the Track My Ride platform if the emergency/panic button is pressed.save
subaccountsSub-accounts provide access to an existing Track My Ride account with the ability to restrict access to vehicles and functionality/ permissionsget, save, delete
userRelating to users and their account settingsget, save, set_options, update_password, logout, generate_api_keys, update_credit_card
zonesActions relating to zones. Zones are regions where vehicles can enter and exit. They can be tied to alerts to raise a notification automatically when a vehicle enters or exits a zone.get, save, delete
auxMiscellaneous functions related to actions performed in the Track My Ride system.get, set_journey_business, set_journey_notes, set_fuel_record, delete_fuel_record, add_refuel_record

Returned data

By default, all data get-actions are returned as XML, other requests are returned as JSON. To enforce JSON, set the query param "json" as 1 by adding &json=1 in the request.

Save, Update, Delete

NameTypeDescriptionExample
unique_idStringThe unique ID of the changed object9vJQ6iE9VL8X
successBooleanThe result of the requesttrue