Trips

Create Trip

Create a new trip. Free users are limited to 1 saved trip.

post/api/v1/trips

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v1/trips
  • Auth: HTTP bearer

Request body

input_destinationstring nullable

The destination.

departure_datestring nullable

Must be today or later.

return_datestring nullable

Must be after departure_date.

num_adultsinteger nullable

Min 1, max 20.

num_seniorsinteger nullable

How many of the adults are 65 or over. Min 0, max 20.

num_childreninteger nullable

Min 0, max 20.

children_agesinteger[]

Ages 0-17.

trip_type'single_city' | 'multi_city' nullable

Example request

{
  "input_destination": "Paris, France",
  "departure_date": "2026-04-01",
  "return_date": "2026-04-08",
  "num_adults": 2,
  "num_seniors": 1,
  "num_children": 1,
  "children_ages": [
    5,
    10
  ],
  "trip_type": "single_city",
  "stops": [
    {
      "destination": "i",
      "nights": 8,
      "travel_mode": "vdljnikhwaykcmyu",
      "order": 16,
      "destination_id": 16
    }
  ]
}

Response

Example response

{
  "trip": {
    "external_id": "uuid",
    "input_destination": "Paris, France"
  }
}

Changes

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