Understanding our driver endpoints¶
What does it do?¶
The driver endpoints allow you to:
- Assign drivers to accepted bookings (all partners with own driver app)
- Manage drivers via CRUD operations (partners using the Booking.com Taxi Driver App only)
Note
If you're not using the Booking.com Taxi Driver App, you don't need to create drivers with the Public API. You only need the Assign Driver endpoint.
How does it work?¶
For partners with their own driver app:¶
- Authenticate — obtain an access token
- Accept a booking — transition booking to
ACCEPTEDstatus - Assign a driver — call
POST /v2/bookings/:bookingReference/assignDriverwith driver and/or vehicle details - Send driver events — once assigned, send driver events to keep customers updated
For partners using the Booking.com Taxi Driver App:¶
- Authenticate — obtain an access token
- Create drivers — call
POST /v1/driverswith driver details. An SMS activation link will be sent to the driver. - Assign a driver — call
POST /v2/bookings/:bookingReference/assignDriverwith thedriverIdreturned from step 2 - Driver events are sent automatically by the Booking.com Driver App
Note
The driverId used in assign driver is the UUID returned when creating a driver — not a custom or legacy ID.
See our endpoint references for full details.
Further reading¶
- How can I Assign a Driver via API? — V2 assignment, when driverId is needed