---
title: "Add Flight To Itinerary"
method: POST
path: "/trips/{trip_id}/flights/add"
tags: ["flights"]
---

# Add Flight To Itinerary

`POST /trips/{trip_id}/flights/add`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/trips/{trip_id}/flights/add`
- Auth: none declared

Resolve a flight by number + date and add it to the trip's itinerary.

## Path parameters

- `trip_id` string, required

## Headers

- `x-client-id` string, nullable

## Request body

- AddFlightRequest
  - `flight_number` string, required
  - `flight_date` string, date, required

## Response `200`

Successful Response

- AddFlightResponse
  - `journey_id` string, required
  - `flight` object, required
  - `card_key` string, required
  - `card_data` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stardrift/apis/stardrift-api.md) - [All operations](https://skmtc.dev/stardrift/apis/stardrift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stardrift/apis/stardrift-api/revisions/be9ed1e6c38a?raw)
