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

# POST /trips/{trip_id}/gaps

`POST /trips/{trip_id}/gaps`

## Request

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

## Request body

- TripGapParameters
  - `requested_type` 'flights' | 'hotels' | 'cars' | 'rails'

## Response `200`

Request fulfilled, document follows

- TripGapSchema[]
  - `travelers` BaseUser[] (unresolved $ref)
  - `start_time` string, date
  - `end_time` string, date
  - `location` BaseLocation1 (unresolved $ref)
  - `location_type` string

## Other responses

- `404`: Trip not found.
- `422`: 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)
