WebhooksWorkers
Device Disconnected
Webhook payload sent when the device of a worker loses its internet connection during tracking.
This webhook is sent when a worker's current device gets disconnected from internet during a tracking session
[
{
"type": "worker",
"device_id":"AB930CCD-50A9-4ECA-8758-D7CB09058606",
"data": {
"value": "device_disconnected"
},
"recorded_at": "2024-11-28T12:45:00.000Z",
"location": {
"type": "Point",
"coordinates": [
77.643271,
12.94964
]
},
"worker_handle": "ram@123",
"version": "3.0.0"
}
]| Name | Type | Mandatory | Description | |
|---|---|---|---|---|
| data.value | string | Yes | device_disconnected | |
| worker_handle | string | Yes | Unique Handle of the worker. | |
| device_id | string | Yes | Unique Identifier of the device which got disconnected | |
| location | GeoJSON | No | Location in [GeoJSON format] where device got disconnected |