Creates a new journey request for a ride.
PrerequisitesBefore creating a journey, you must call the
/estimatesendpoint and use the returned
product.idasproduct_idin this request. This guarantees that the product is available
at the pickup location and provides accurate pricing shown to drivers.The estimate should be created within 5 minutes of the journey request.
Journey States
After creation, the journey progresses through these states:
hire- Searching for available drivershired- Driver assigned and en routearrived- Driver at pickup locationpick up- Passenger in vehicledrop off- Journey completedterminated- Receipt generated (after ~2 hours)
For a detailed explanation of journey states and their transitions, see Journey States.
Booking a Journey (Reservation)Creating a reservation is similar to creating an ASAP journey, except for the
start_atfield,
which should contain a future date-time value in the format "YYYY-MM-DD HH:MM:SS", expressed
in the local time of the pickup location.Use the same
start_atvalue you provided to the/estimatesendpoint to ensure consistent
product availability and pricing between the estimate and the journey creation.Important constraints:
- Reservations must be created at least 30 minutes before the start time
- Reservations can be scheduled up to 60 days in advance
Sandbox TestingIn the sandbox environment, pickup locations must be within central Madrid (approximately 40.4361°, -3.7014°).
See Sandbox Environment for details.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
