Build your own apps on top of Autosnavix. Stream live GPS, read history, control engine cut-off, manage alerts, and receive webhooks — the same capabilities as our mobile app.
Send your API key on every request:
X-API-Key: prefix.secret
https://api.autosnavix.com/api/v1
curl -s https://api.autosnavix.com/api/v1/devices \\
-H "X-API-Key: YOUR_PREFIX.YOUR_SECRET"
curl -s https://api.autosnavix.com/api/v1/devices/IMEI/location \\
-H "X-API-Key: YOUR_PREFIX.YOUR_SECRET"
curl -s -X POST https://api.autosnavix.com/api/v1/devices/IMEI/commands \\
-H "X-API-Key: YOUR_PREFIX.YOUR_SECRET" \\
-H "Content-Type: application/json" \\
-d '{"command":"STOP_ENGINE"}'/api/v1/API discovery (scopes, events, base URL)/api/v1/meDeveloper profile & subscription/api/v1/devicesList devices you can accessdevices:read/api/v1/devices/:imeiDevice + vehicle detailsdevices:read/api/v1/devices/:imei/locationLatest GPS positiongps:read/api/v1/devices/:imei/positions?start&endRaw GPS track pointsgps:read/api/v1/devices/:imei/history?start&endDaily trip summarieshistory:read/api/v1/devices/:imei/settingsAlert & parking settingssettings:read/api/v1/devices/:imei/settingsUpdate parking/speed/distance alertssettings:write/api/v1/devices/:imei/featuresPlan feature flags for devicefeatures:read/api/v1/devices/:imei/smsRecent SMS logssms:read/api/v1/devices/:imei/commandsSTOP_ENGINE, RESUME_ENGINE, RESTART_*commands:write/api/v1/devices/:imei/share-locationCreate live share linkshare:write/api/v1/devices/:imei/share-location/stopStop live sharingshare:write/api/v1/vehiclesList your vehiclesvehicles:readHeaders:
Content-Type: application/json
X-Autosnavix-Event: gps.update
X-Autosnavix-Timestamp: 1710000000000
X-Autosnavix-Signature: <hmac_sha256_hex>
Body:
{
"event": "gps.update",
"timestamp": 1710000000000,
"payload": { ...device telemetry... }
}
// Node.js verification example
const crypto = require('crypto');
const expected = crypto
.createHmac('sha256', WEBHOOK_SECRET)
.update(rawBodyString)
.digest('hex');
const ok = expected === req.headers['x-autosnavix-signature'];{
"enableParkingMode": true,
"areaParkingLat": 45.5,
"areaParkingLng": -73.6,
"enableSpeedAlert": true,
"speedLimit": 90,
"enableDistanceAlert": true,
"distanceLimit": 200,
"areaPointLat": 45.5,
"areaPointLng": -73.6,
"emailEnabled": true,
"emailAddresses": ["ops@example.com"],
"smsEnabled": false,
"smsNumbers": []
}