HyperTrackDocs
WebhooksWorkers

Device Connected

Webhook payload sent when the device of a worker connects to the internet again during tracking.

This webhook is sent when a worker's device network connectivity is restored after being disconnected during a tracking session


[
  {
    "type": "worker",
    "device_id":"AB930CCD-50A9-4ECA-8758-D7CB09058606",
    "data": {
      "value": "device_connected"
    },
    "recorded_at": "2024-11-28T12:45:00.000Z",
    "location": {
        "type": "Point",
        "coordinates": [
          77.643271,
          12.94964
        ]
    },
    "worker_handle": "ram@123",
    "version": "3.0.0" 
  }
]


NameTypeMandatoryDescription
data.valuestringYesdevice_connected
worker_handlestringYesUnique Handle of the worker.
device_idstringYesUnique Identifier of the device which connected
locationGeoJSONNoLocation in [GeoJSON format] where device connected