Moovetrax API
Getting Started
For a partner API key, or to register an OAuth application, contact support@moovetrax.com.
Navigation
OAuth Integration
Please setup a redirect_url and contact support to get a client_id and a client_secret
Authorization URL
response_type
client_id
redirect_uri
state
Token URL
client_id
client_secret
grant_type
code
redirect_uri
Refresh Token URL
Access tokens expire; use the refresh token from the Token URL response to get a new pair before that happens. The old refresh token is revoked as soon as a new pair is issued, so always store the latest one.
client_id
client_secret
grant_type
refresh_token
Device Disconnect
Revoke a single device from an access token's grant without revoking the whole token. The device is removed from the token's device list; other devices authorized under the same token are unaffected.
token
deviceId
Device Commands
In this example the vin is JN123456789123456 and the accessToken is 1234567890 (found in the response of )
Return last known location, alive and location time.
Send unlock command.
Send lock command.
Send panic command to honk the horn (5 times).
Send kill command.
Send unkill command.
Set speed limit.
Read miles.
Webhooks
Moovetrax pushes real-time events to your application via signed HTTP webhooks, configured per OAuth application from the admin panel.
Each request is a POST with an X-Moovetrax-Event header naming the event, and an X-Moovetrax-Signature: sha256=<hex> header — an HMAC-SHA256 signature of the raw JSON body, computed using your webhook's key as the secret.
ACC ON
POSTFired when a device's ignition (ACC) turns on.
ACC OFF
POSTFired when a device's ignition (ACC) turns off.
Mileage
POSTPeriodic odometer snapshot for a device.
Battery
POSTFired when a device crosses the low-battery threshold (battery_low: true), and again when it recovers (battery_low: false).
Geolocation
POSTFired on every new position reported by a device.
User Geofences
POSTFired when a device enters or leaves a user-defined geofence (status: "enter" | "leave").