---
title: "Create a real, private trip for the traveller (the same as New plan in the app; the plan limit of their subscription app"
method: POST
path: "/actions/create_trip"
tags: ["trips"]
---

# Create a real, private trip for the traveller (the same as New plan in the app; the plan limit of their subscription app

`POST /actions/create_trip`

## Request

- Base URL: `https://findinghorizons.ca/api/v1`
- URL: `https://findinghorizons.ca/api/v1/actions/create_trip`
- Auth: OAuth 2 (authorization code, authorization URL `https://findinghorizons.ca/api/mcp/authorize`, token URL `https://findinghorizons.ca/api/mcp/oauth/token`, scopes: `trips:manage`)

Create a real, private trip for the traveller (the same as New plan in the app; the plan limit of their subscription applies). Cities in order, optional dates (YYYY-MM-DD) and pace (strict | casual | fun). Then add their saved places with update_trip_stops and read the day plan with build_trip_plan. Repeating the same request with the same Idempotency-Key never makes a second trip.

## Headers

- `Idempotency-Key` string, required
- `X-FH-Task` string

## Request body

- object
  - `title` string, required
  - `cities` string[]
  - `origin` string: Leaving from
  - `startDate` string
  - `endDate` string
  - `pace` 'strict' | 'casual' | 'fun'
  - `legNights` number[]: Nights per city, in order (optional)
  - `travelers` number
  - `today` string: The traveller's own date, YYYY-MM-DD, where the action needs one
  - `expectedVersion` integer: For a change to a trip: the planVersion you last read

## Response `200`

Done — { ok, api, action, result, card, operation? }

## Other responses

- `202`: Waiting for the traveller's approval in Finding Horizons
- `400`: Bad body / missing Idempotency-Key
- `401`: No or invalid token
- `403`: Scope not granted
- `409`: Conflict: the plan changed since expectedVersion, or the same key is still running
- `422`: The action said no
- `429`: Rate limited

---

[API](https://skmtc.dev/findinghorizons/apis/finding-horizons-api.md) · [All operations](https://skmtc.dev/findinghorizons/apis/finding-horizons-api/llms.txt) · [OpenAPI document](https://skmtc.dev/findinghorizons/apis/finding-horizons-api/revisions/e347f6070173?raw)
