---
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`

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/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
