Trips

List trips

Get the list of all trips

get/draft_trips

Request

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

Query parameters

per_pageinteger
Example:25

Number of trips per page

pageinteger
Example:1

Page number (minimum:1)

exclude_payment_linksboolean

Exclude payment links from the response

Response

Successful 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
      }
    }
  ],
  "pagination": {
    "total_count": 1,
    "page": 1,
    "per_page": 20,
    "total_pages": 1
  }
}

Changes

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