---
title: "POST /trips/{trip_id}/v2/flights"
method: POST
path: "/trips/{trip_id}/v2/flights"
tags: ["trips"]
---

# POST /trips/{trip_id}/v2/flights

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

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/trips/{trip_id}/v2/flights`
- Auth: API key in header `Authorization`

## Request body

- BcdFlightBookingV2Parameters
  - `flight_identifier` string
  - `search_id` integer, required
  - `original_booking_segment_id` integer, nullable
  - `replace_booking_segment_id` integer, nullable
  - `enable_ob_fee` boolean, nullable

## Response `200`

Request fulfilled, document follows

- TaskResponseSchema
  - `job_id` string, nullable, required
  - `status` 'sent' | 'failed', required

## Other responses

- `422`: Success
- `423`: Success

---

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