Initiate Driver/Recipient Phone Call
POSThttps://api.uber.com/v1/health/trips/call
¶ Authorization
OAuth 2.0 Bearer token with the health
scope.
¶ Description
Calls driver of an active or completed trip.
¶ Request Parameters
Name | Type | Description |
---|---|---|
request_id |
string |
A unique identifier of a trip’s request returned when creating a trip (required) |
phone_number |
string |
The phone number of the recipient being connected with the driver (required) |
¶ Example Request
Try It Replace the token and request id from an active or completed trip in the below request to use it in a terminal to see the details.
curl -X POST \
-H 'authorization: Bearer $UBER_TOKEN' \
-H 'content-type: application/json' \
-d '{
"request_id": "REPLACEREQUESTID",
"phone_number": "+11234567890"
}' \
'https://sandbox-api.uber.com/v1/health/trips/call'
¶ Example Response
HTTP 200 OK