{
"createdBy": "[email protected]",
"updatedBy": null,
"time": 1726734839948,
"startTime": "2024-09-19 00:00:00",
"distanceToDest": null,
"email": "[email protected]",
"organizationId": "66791b2bf001a712b77b3622",
"taskId": "",
"distance": 0.01821796355451168,
"notes": null,
"finish": null,
"lon": 112.7573265,
"lat": -7.3411964,
"updatedTime": "2024-09-19 08:33:59",
"speed": 1,
"duration": 1,
"createdTime": "2024-09-19 00:00:00",
"eventName": "otw",
"isLatest": true,
"_id": "[email protected]_20240919070000s"
}Webhook
Trip events
Triggered when field workers start or finish their trips.
WEBHOOK
trip-events
{
"createdBy": "[email protected]",
"updatedBy": null,
"time": 1726734839948,
"startTime": "2024-09-19 00:00:00",
"distanceToDest": null,
"email": "[email protected]",
"organizationId": "66791b2bf001a712b77b3622",
"taskId": "",
"distance": 0.01821796355451168,
"notes": null,
"finish": null,
"lon": 112.7573265,
"lat": -7.3411964,
"updatedTime": "2024-09-19 08:33:59",
"speed": 1,
"duration": 1,
"createdTime": "2024-09-19 00:00:00",
"eventName": "otw",
"isLatest": true,
"_id": "[email protected]_20240919070000s"
}Authorizations
Body
application/json
Trip event payload
Response
200
Return 200 status to indicate that the data was received successfully