10. Establishing one way communication

PUT https://api.uber.com/v1/guests/trips/<request_id>/communication

https://developer.uber.com/docs/guest-rides/references/api/v1/guest-trips-communication-put

This endpoint will return a phone number that will proxy voice and sms communications between the trip driver and the recipient.
The recipient phone number could be the rider or the organization.
The provisioned phone number is only valid until the trip completes, it will not work after the trip completes.
Only one session can exist for a trip.
If this endpoint is called twice with two different phone numbers, the first session will be invalidated after the second request and only the second input phone number will be able to contact the output phone number.

Request Body

{"phone_number"=>"+123456789"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
x-uber-organizationuuidstring