Understanding our event endpoints¶
What does it do?¶
The driver event endpoints allow you to send real-time driver status updates during a booking's lifecycle. These updates are shown to customers to reduce anxiety at pickup time.
Warning
Before you can send driver events you must first assign a driver. The booking must be in DRIVER_ASSIGNED state.
Event sequence¶
Events must be sent in chronological order. The expected sequence is:
DRIVER_DEPARTED_TO_PICKUP
→ DRIVER_ARRIVED_AT_PICKUP
→ DRIVER_DEPARTED_TO_DROPOFF (customer collected)
→ DRIVER_ARRIVED_AT_DROPOFF (journey complete)
Alternative path (no-show):
Additionally, DRIVER_LIVE_LOCATION can be sent repeatedly (every 5 seconds) throughout the journey for real-time GPS tracking.
How does it work?¶
- Authenticate — obtain an access token
- Assign a driver — booking transitions to
DRIVER_ASSIGNED - Send events — call
POST /v1/bookings/:customerReference/:bookingReference/driver/eventswith each event as it occurs - Send live location (optional) — send
DRIVER_LIVE_LOCATIONevery 5 seconds with GPS coordinates
See our endpoint references for full request/response details.
Further reading¶
- How can I send driver events to you via API? — Overview and event descriptions
- Why are my driver event numbers low? — Common mistakes: wrong order, future timestamps, driver not assigned
- How can I share full GPS location of vehicle via API? — Live tracking requirements and best practices