Playground

Rerouting operations flow

The Airline Direct rerouting flow is server-to-server. Use the steps below to walk through the API calls, then try them live in the sandbox with your API key.

Rerouting API docs

Integration walkthrough

1

Call POST /v1/partner/airline/disruptions with a cancelled flight manifest to create a disruption.

2

Call GET /v1/partner/airline/disruptions/{id}/passengers/{pax_id}/rerouting to receive ranked rerouting options.

3

Review the scored options — each includes carrier, cabin class, stops, and a 30-minute booking token.

4

Call POST /v1/partner/airline/disruptions/{id}/passengers/{pax_id}/rerouting/select with the chosen option_id and booking_token to confirm.

Sandbox test data

Disruption (cancellation)

POST /v1/partner/airline/disruptions — flight_number: NK001, disruption_type: CANCELLED

Get rerouting options

GET …/passengers/{pax_id}/rerouting — returns 3 ranked options (AA100, VS4, UA901)

Select option

POST …/rerouting/select — use option_id + booking_token from the options response