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

# POST /trips/{trip_id}/submit_trip

`POST /trips/{trip_id}/submit_trip`

## Request

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

## Request body

- TripSubmitParameters
  - `trip_name` string, nullable
  - `fake_booking` FakeBookingParameters (unresolved $ref)
  - `card_cvc_data` object, nullable
  - `selected_documents` SelectedDocumentsParameters[], nullable (unresolved $ref)
  - `report_settings` ReportSetting[], nullable (unresolved $ref)
  - `browser_data` DeviceDataParameters (unresolved $ref)
  - `timezoneOffsetUtcMinutes` integer, nullable
  - `rails_ticket_delivery_options` RailAtocTicketOptionsParameters[], nullable (unresolved $ref)
  - `message` string, nullable

## Response `202`

Request accepted, processing continues off-line

- TripStatusSchema
  - `id` integer
  - `trip_fees` TripFee[] (unresolved $ref)
  - `product_fees` unknown
  - `status` 'draft' | 'draft_by_support' | 'reverted' | 'sending_to_approval' | 'waiting_approval' | 'canceled' | 'not_approved' | 'approved' | 'waiting_for_user_submission' | 'booked' | 'booking' | 'price_changed' | 'pre_trip_green_light'
  - `errors` object[], nullable
  - `booking_segment_to_travelers` BookingSegmentToTravelerWithVerificationURL[] (unresolved $ref)

## Other responses

- `400`: Bad request syntax or unsupported method
- `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)
