---
title: "Add an event (eventId from find_events) to a day of one of the traveller's trips (date YYYY-MM-DD, optional startTime/en"
method: POST
path: "/actions/add_event_to_trip"
tags: ["events"]
---

# Add an event (eventId from find_events) to a day of one of the traveller's trips (date YYYY-MM-DD, optional startTime/en

`POST /actions/add_event_to_trip`

## Request

- Base URL: `https://findinghorizons.ca/api/v1`
- URL: `https://findinghorizons.ca/api/v1/actions/add_event_to_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:write`)

Add an event (eventId from find_events) to a day of one of the traveller's trips (date YYYY-MM-DD, optional startTime/endTime HH:MM). If it clashes with something already that day, NOTHING is added: you get the clash in plain words and the options — ask the traveller, then call again with their choice (add_anyway to add over it). Owner or editor of the trip only.

## Headers

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

## Request body

- object
  - `eventId` string, required
  - `tripId` string, required
  - `date` string, required
  - `startTime` string
  - `endTime` string
  - `choice` string
  - `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)
