Skip to main content
GET
Use this endpoint to poll a booking after Create Booking or Cancel Booking. It returns the current unified state without retrieving the full itinerary payload.

Request Example

Polling Guidance

1

Save the booking ID

Store data.booking_id from the booking creation response.
2

Read the current state

Display data.status to the customer or support user.
3

Stop when final

Use data.is_terminal to decide when the operation is complete.
4

Load the itinerary when needed

Use Get Booking Details for confirmed itineraries, support views, and reconciliation.
After a cancellation request, CANCELLATION_PENDING means the supplier is still processing it. Continue polling until the status becomes CANCELLED or the response indicates a final state. The OpenAPI section below contains the status response and error contract.

Authorizations

x-api-key
string
header
required

Environment-specific API key created in the Unifystays portal

Headers

Path Parameters

booking_id
string
required
Example:

"ubk_eGQ0dW9uV1Vi"

Response

success
boolean
required
Example:

true

message
string
required
Example:

"Booking request accepted and is being processed."

data
object
required