v1
latestOpenAPI 3.0.12026-08-0644438.5 KBTrips
Get trip
Retrieves a trip by ID.
get/v1/trips/{trip_id}
Path parameters
trip_idstring required
Response
The trip that was retrieved.
Example response
{
"id": "trip_cl9rh1n8g001e0j84w6fb4fd1",
"created_at": "2017-12-27T15:42:30Z",
"updated_at": "2017-12-27T15:42:30Z",
"name": "Trip to Rio de Janeiro",
"booker_user_id": "cuuser_cky0xs54b004h01pidi0pcuz1",
"status": "UPCOMING",
"traveler": {
"type": "EMPLOYEE",
"name": {
"first_name": "John",
"middle_name": "Paul",
"last_name": "Doe",
"suffix": "Jr."
},
"guest_email": "guest@gmail.com",
"user_id": "cuuser_cky0xs54b004h01pidi0pcuz1"
},
"version": 2,
"billable_at": "2017-12-27T15:42:30Z",
"starts_at": "2017-12-27T15:42:30Z",
"ends_at": "2017-12-27T15:42:30Z",
"trip_reference": "7117228246"
}