Trips

Get trip

Get a trip by UUID

get/draft_trips/{trip_uuid}

Request

  • Base URL
    https://api.wetravel.com/v2
  • URL
    https://api.wetravel.com/v2/draft_trips/{trip_uuid}
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Path parameters

trip_uuidstring required

UUID of the trip

Query parameters

exclude_payment_linksboolean

Exclude payment links from the trip response

Response

Successfull response

Example response

{
  "data": {
    "uuid": "12345678",
    "created_at": "2017-07-21T17:32:28.000Z",
    "trip_id": "TRIP20",
    "url": "https://wetravel.com/trips/123456",
    "title": "Epic London Trip",
    "destination": "London, Uk",
    "start_date": "2021-05-07T00:00:00.000Z",
    "end_date": "2021-05-07T00:00:00.000Z",
    "group_min": 5,
    "group_max": 15,
    "currency": "USD",
    "participant_list_show_type": "everyone",
    "welcome_message": "YAY!!!",
    "participant_fees": "all",
    "listing_status": "private",
    "waiting_list_enabled": true,
    "can_contribute": true,
    "carbon_offset": {
      "enabled": true,
      "percentage": 2.5,
      "paid_by_participant": true
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.