Three lines

Uber

Developers

Initiate Driver/Recipient Phone Call

POSThttps://api.uber.com/v1/guests/trips/call

Privileged and Confidential This endpoint design has been confidentially shared with you. It is still under development and is subject to change without notice. Please do not share this document or API endpoint details with anyone who is not authorized to have access. For more information read about scopes.

Use case

Use this endpoint to initiate a call between the driver and a recipient. This end-point can be leveraged while the trip is in progress and upon trip completion.

The phone number you provide will be connected with the driver.

The call recipient could be the organization or the rider.

If the request is from a third party (3P) app, please add x-uber-organizationuuid header and the Organization UUID as the value or the request will be denied.

Authorization

OAuth 2.0 Bearer token with the guests.trips scope.

Request
Example request
curl -X POST \
  -H 'authorization: Bearer <access_token>' \
  -H 'content-type: application/json' \
  -d '{
        "request_id": "<request_id>",
        "phone_number": "+11234567890"
      }' \
      'https://api.uber.com/v1/guests/trips/call'
Request body parameters
Field Type Description
request_id string A trip’s request unique identified (required).
phone_number string The phone number of the recipient to be connected with the driver (required).
Response
Example response
HTTP 200 OK

Uber

Developers
© 2023 Uber Technologies Inc.