Webhooks

Last updated 13 days ago

HyperTrack generates live location of your devices. These locations are sent as location change events. Here is the format of the data JSON that is sent for a location change event.

PROPERTY

TYPE

DESCRIPTION

location

GeoJSON

Location in GeoJSON format

speed (coming soon)

Float

Speed of horizontal motion, in meters/sec

bearing (coming soon)

Float

Horizontal direction, represented as degrees east of north

altitude (coming soon)

Float

Altitude of device, in meters

Sample event

{
"id": "5e07df7e-cf01-4571-b516-e76e366efb90",
"device_id": "17e2a12d-d8de-43d1-9566-849135fdb577",
"type": "location.change",
"recorded_at": "2018-07-20T04:09:33.945000+00:00",
"data": {
"location": {
"coordinates": [
77.6342144,
12.929061
],
"type": "point"
},
"speed": 30.5732,
"bearing": 92.2334,
"altitude":182.9882
}
}

‚Äč