---
title: "POST /rails/cancellation_offer"
method: POST
path: "/rails/cancellation_offer"
tags: ["rails"]
---

# POST /rails/cancellation_offer

`POST /rails/cancellation_offer`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/rails/cancellation_offer`
- Auth: API key in header `Authorization`

## Request body

- RailsGetCancellationOfferParameters
  - `booking_segments_ids` integer[]

## Response `200`

Request fulfilled, document follows

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

## Other responses

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