4.b Get All Active Health Trips
GET https://api.uber.com/v1/health/trips
https://developer.uber.com/docs/health/references/api/v1/health-trips-get
Use this endpoint to retrieve information for a set of health trips.
By default, without any parameters, this endpoint will return the 50 most recent trips associated with the application making the call.
trip_status - A ride status to filter the response by {ACTIVE, PAST, EXPIRED}. Optional, if not specified will default to ACTIVE trips.
startkey - Key used for paging. When implementing paging, the value returned in nextkey should be used here to retrieve the next page of results.
limit - The max number of rides to return. (Default 50)
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-uber-organizationuuid | string | ||
User-Agent | string | ||
`` | null |
RESPONSES
status: OK
{"trips":[{"call_enabled":true,"city_id":"5","client_fare":"$12.94","contacts_to_notify":[{"contact_event":["TRIP_BEGAN"],"first_name":"first_name","last_name":"last_name","phone_number":"+10000000000"},{"contact_event":["DRIVER_PICKUP_COMPLETED"],"first_name":"","last_name":"","phone_number":"+10000000000"}],"destination":{"address":"311 11th Ave, New York, NY 10001-1213, US","latitude":40.75279,"longitude":-74.00465,"place":{"place_id":"8c00e805-e8a2-424b-c71c-31c1aab237cc","provider":"uber_places"},"subtitle":"New York, NY","timezone":"America/New_York","title":"311 11th Ave"},"fare":{"currency_code":"USD","entity_fares":[{"entity_ref":{"role":"org","uuid":"30448499-b5c4-4394-9101-c63faa1ac6d8"},"total":12.94}],"value":12.94},"guest":{"email":"test@uber.com","first_name":"first_name","guest_id":"Redacted","has_coordinator_consented":false,"last_name":"last_name","locale":"en","phone_number":"+10000000000","unregistered_user_uuid":"Redacted"},"location_uuid":"1b00a3a0-c19d-45f5-ab96-10d250fda991","pickup":{"address":"1359 Broadway, New York, NY 10018-7101, US","is_refined":true,"latitude":40.75186,"longitude":-73.987595,"place":{"place_id":"58bf46f1-a348-c54f-bb26-e02fb68a1cdd","provider":"uber_places"},"rider_wayfinding_note":"Meet at your pickup spot on Broadway","subtitle":"New York, NY","timezone":"America/New_York","title":"1359 Broadway","update_details":"You originally requested to be picked up at 1359 Broadway, New York, NY 10018-7101, US. To make your pickup easier, you will be now picked up at 1359 Broadway, New York, NY 10018-7101, US."},"product":{"display_name":"UberX","parent_product_type_id":"6a8e56b8-914e-4b48-a387-e6ad21d9c00c","product_id":"b8e5c464-5de2-4539-a35a-986d6e58f186"},"request_details":{"pickup":{"address":"1359 Broadway, New York, NY 10018-7101, US","latitude":40.7517665,"longitude":-73.98786252}},"request_id":"Redacted","requester_group":{"name":"General"},"requester_name":"Firstname Lastname","requester_uuid":"Redacted","scheduling":{"pickup_time":1718961619000},"status":"scheduled","surge_multiplier":1,"total_trip_legs":1,"trip_leg_number":0},{"call_enabled":true,"city_id":"5","contacts_to_notify":[{"contact_event":["TRIP_BEGAN"],"first_name":"","last_name":"","phone_number":"+10000000000"},{"contact_event":["DRIVER_PICKUP_COMPLETED"],"first_name":"","last_name":"","phone_number":"+10000000000"}],"deferred_ride_options":{"pickup_day":"2024-06-21"},"destination":{"address":"311 11th Ave, New York, NY 10001-1213, US","latitude":40.75279,"longitude":-74.00465,"place":{"place_id":"8c00e805-e8a2-424b-c71c-31c1aab237cc","provider":"uber_places"},"subtitle":"New York, NY","timezone":"America/New_York","title":"311 11th Ave"},"guest":{"email":"test@uber.com","first_name":"first_name","guest_id":"Redacted","has_coordinator_consented":false,"last_name":"last_name","locale":"en","phone_number":"+10000000000","unregistered_user_uuid":"Redacted"},"location_uuid":"1b00a3a0-c19d-45f5-ab96-10d250fda991","pickup":{"address":"1359 Broadway, New York, NY 10018-7101, US","is_refined":true,"latitude":40.75186,"longitude":-73.987595,"place":{"place_id":"58bf46f1-a348-c54f-bb26-e02fb68a1cdd","provider":"uber_places"},"rider_wayfinding_note":"Meet at your pickup spot on Broadway","subtitle":"New York, NY","timezone":"America/New_York","title":"1359 Broadway","update_details":"You originally requested to be picked up at 1359 Broadway, New York, NY 10018-7101, US. To make your pickup easier, you will be now picked up at 1359 Broadway, New York, NY 10018-7101, US."},"policy_uuid":"Redacted","policy_version":7040525551816999000,"product":{"display_name":"UberX","parent_product_type_id":"6a8e56b8-914e-4b48-a387-e6ad21d9c00c","product_id":"b8e5c464-5de2-4539-a35a-986d6e58f186"},"request_details":{"pickup":{"address":"1359 Broadway, New York, NY 10018-7101, US","latitude":40.7517665,"longitude":-73.98786252}},"request_id":"Redacted","requester_group":{"name":"General"},"requester_name":"Firstname Lastname","requester_uuid":"Redacted","status":"scheduled","total_trip_legs":1,"trip_leg_number":0}]}