Orders Geofence Checked
Webhook payload sent when the device checks if the worker is inside the order destination geofence.
HyperTrack sends this webhook when the app reads the on-device geofence status of an order (isInsideGeofence in the SDK), for example when the worker taps clock-in. The SDK makes the check on the phone and sends the result to HyperTrack. data.value is on_device_geofence_checked.
Orders Geofence Checked Payload
[
{
"created_at":"2026-11-10T13:58:41.512Z",
"recorded_at":"2026-11-10T13:58:41.512Z",
"device_id":"00112233-4455-6677-8899-AABBCCDDEEFF",
"driver_handle":"Worker-1",
"worker_handle":"Worker-1",
"account_id":"6784e919-7168-4f61-b686-2020f547637f",
"type":"order",
"data":{
"value":"on_device_geofence_checked",
"order_handle":"DGC127092",
"route_handle":"4359cc65-90dd-4b2b-875b-26e6d2eba11d",
"status":"ongoing",
"share_url":"https://trck.at/DqaybldkqY",
"scheduled_at":"2026-11-10T14:00:00.000Z",
"started_at":"2026-11-10T13:15:02.418Z",
"is_inside":true,
"location_accuracy":20,
"metadata":{
"storeId":"123490809808",
"customerName":"Andrew"
}
},
"version":"3.0.0",
"location":{
"type":"Point",
"coordinates":[
77.643271,
12.94964
]
}
}
]If the phone has an outage when the worker makes the check, data.outages shows the outage, and data.is_inside can be null:
"data":{
"value":"on_device_geofence_checked",
"order_handle":"DGC127092",
"route_handle":"4359cc65-90dd-4b2b-875b-26e6d2eba11d",
"status":"ongoing",
"share_url":"https://trck.at/DqaybldkqY",
"is_inside":null,
"outages":[
{
"code":"location_services_disabled",
"label":"Location services disabled",
"category":"behavioural",
"description":"The worker disabled location services globally in the phone. The worker should turn on location services in Settings > Location > Use location."
}
]
}| Name | Type | Mandatory | Description |
|---|---|---|---|
| device_id | string | No | Device ID (uppercase) of the phone that made the check. If the worker is signed in on two phones, this can be different from the device of the order. See the note below. |
| worker_handle | string | No | Handle of the worker of the order |
| driver_handle | string | No | Same value as worker_handle |
| created_at | string | Yes | Time when HyperTrack sent the webhook |
| recorded_at | string | Yes | Time when HyperTrack processed the check. It is not the time on the phone. If the phone sent the check late (for example, after it was offline), this time is later than the check |
| location | object | No | GeoJSON Point of the phone at the check, as [longitude, latitude]. Not sent if the phone did not have a location |
| data.value | string | Yes | on_device_geofence_checked |
| data.order_handle | string | Yes | Unique handle for the Order |
| data.is_inside | boolean | Yes | true if the phone was inside the order destination geofence, false if outside. Can be null when data.outages is present |
| data.location_accuracy | integer | No | Accuracy in meters of the location that the phone used for the check |
| data.outages | array | No | Outages of the phone at the time of the check. See List of outages |
| data.outages[].code | string | Yes | Outage code, for example location_services_disabled |
| data.outages[].label | string | Yes | Short name of the outage |
| data.outages[].category | string | Yes | adversarial, behavioural, sporadic, os, reachability, or not_an_outage |
| data.outages[].description | string | Yes | What caused the outage and how the worker can fix it |
| data.route_handle | string | Yes | Unique identifier of the route containing the order |
| data.status | string | Yes | Status of the order when HyperTrack sent the webhook, for example ongoing or assigned |
| data.share_url | string | Yes | Tracking URL of the order. Can be an empty string |
| data.scheduled_at | string | No | Scheduled arrival time for the order |
| data.started_at | string | No | Time when the order started |
| data.fulfillment_attempt | integer | No | Fulfillment attempt number of the order |
| data.metadata | object | No | Metadata that you have assigned to this order |
HyperTrack does not send this webhook when:
- Tracking was paused or stopped on the phone at the time of the check.
data.is_insideisnulland there is no outage.- The order was completed or cancelled more than 10 minutes before HyperTrack processed the check.
device_id is the phone that made the check. A worker can be signed in on two phones. The order tracks one of them (the device of the order). If the worker makes the check on the other phone, device_id and location come from the phone that made the check, not from the device of the order. To find the device of the order, use Get order or the Order Device Switched webhook.
Change on 2026-11-07 (UTC): before 2026-11-07 04:42 UTC, device_id in this webhook was always the device of the order, even when the check came from a different phone. location was always from the phone that made the check.