Notification of Driver's Location Update
Webhook
The driverLocation
webhook event is triggered whenever there is an update to a driver's location. This event is crucial for real-time tracking of drivers, enabling efficient management of ride progress and enhancing customer service by providing live location updates of the assigned driver.
Supported roles
- Partner
- Fleet manager
Request
Header Parameters
x-gojo-request-signature stringrequired
HMAC hash combining your shared secret and the request payload. Utilize this hash to authenticate and validate incoming requests from Good Journey. This ensures the security and integrity of the data received.
- application/json
Body
latitude numberrequired
Possible values: >= -90
and <= 90
longitude numberrequired
Possible values: >= -180
and <= 180
firstName string
lastName string
phone string
Phone number in E.164 format
locationUpdatedAt date-time
Date time in UTC timezone
Responses
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
status string
{
"status": "ok"
}
Loading...