Itineraries (v2)
Check itinerary inputs
Runs the Setup step's rules on a body without saving anything: the dates, the pace, the travellers, the stops with the caller's stop cap (3 free, 8 Pro), the trip length rule. The errors carry the step's exact words keyed by its field names (input_destination, start_date, end_date, stops, stops.1.destination).
post/api/v2/itineraries/validate
Request
- Base URL: https://www.endlesstravelplans.com
- URL: https://www.endlesstravelplans.com/api/v2/itineraries/validate
- Auth: HTTP bearer
Request body
Example request
{
"generate": true,
"tripExternalId": "b",
"destination": "Lisbon, Portugal",
"destinationId": 16,
"startDate": "2026-11-10",
"endDate": "2026-11-14",
"intensityLevel": "moderate",
"numAdults": 2,
"numSeniors": 18,
"numChildren": 8,
"childrenAges": [
1
],
"interests": [
"y"
],
"categories": [
"u"
],
"mustDo": "w",
"mustDoChips": [
"p"
],
"tripType": "single_city",
"stops": [
{
"destination": "Rome",
"nights": 3
},
{
"destination": "Florence",
"nights": 2
}
],
"quickStartTemplateId": 16
}Response
Example response
{
"valid": false,
"errors": {
"end_date": "Your leaving date is before your arrival date."
},
"warning": null,
"inputs": {
"destination": "Lisbon, Portugal"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.