Guest Rides API - Production
Number of APIs: 11
The Guest Rides API enables businesses to provide Uber rides for their guests without requiring them to have an Uber account. This API supports creating, managing, and tracking rides programmatically while integrating seamlessly into your workflows. Key functionalities include:
Booking rides on behalf of others.
Viewing trip details, driver information, and statuses.
Managing ride modifications like updates and cancellations.
Sending SMS notifications to riders.
Full documentation is available here.
Before You Start
Set Up the Environment:
- Select the appropriate Guest Rides API environment (sandbox or production) for your use case.
Configure API Variables:
Provide your clientID and ClientSecret.
Specify required parameters such as guest details and trip preferences.
Authenticate API Calls:
Navigate to the Authorization tab in Qodex or your chosen tool.
Generate an Access Token:
- Use
Get Access Token
under the Authorization tab. - Provide your credentials (clientid, clientsecret).
- Once successful, click Use Token to authorize.
- Use
-
Authorization - 1. Generate Access Token POST https://login.uber.com/oauth/v2/token
-
Trip Estimate - 2c. Get Trip Estimate - Flexible Ride POST https://api.uber.com/v1/guests/trips/estimates
-
Get Zones - 3. Get Zones GET https://api.uber.com/v1/guests/zones?latitude={{start_lat}}&longitude={{start_long}}
-
List & Get Trips - 7b. List all Guest trips - Default ACTIVE trips GET https://api.uber.com/v1/guests/trips
-
Add Tip - 11. Add tip POST https://api.uber.com/v1/guests/trips/tip
-
Create Trip - 4d. Create a Trip - Reserve POST https://api.uber.com/v1/guests/trips
-
List & Get Trips - 5. Get Trip BY trip ID GET https://api.uber.com/v1/guests/trips/:request_ID
-
Initiate Communication - 9. Initiate Driver/Recipient Phone Call POST https://api.uber.com/v1/guests/trips/call
-
Initiate Communication - 10. Establishing one way communication PUT https://api.uber.com/v1/guests/trips/<request_id>/communication
-
Cancel a Trip - 6. Cancel a Trip DELETE https://api.uber.com/v1/guests/trips/:request_ID