Book Hotel

This API is used to finalize and book a specified itinerary by providing a trace ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Unique identifier for the option.

string
required

Trace ID for tracking the booking flow (Required).

string | null

Any special requests from the guest (Optional).

string | null

Hotel ID if applicable; can be null (Optional).

roomDetails
array of objects
required
length ≥ 1

List of rooms being booked. At least one room is required.

roomDetails*
string
required

Unique identifier for the room (Required).

guests
array of objects
required
length ≥ 1

List of guests staying in the room. At least one must be the lead guest.

guests*
string
required

Guest's title (e.g., Mr, Mrs, Ms).

string
required

Guest's first name.

string | null

Guest's middle name (Optional).

string
required

Guest's last name.

boolean
required

Indicates if the guest is the lead guest.

string
required

Type of guest (e.g., adult, child).

string | null

Email address of the guest (Required for lead guest).

string | null

ISD code for the contact number (Required for lead guest).

string | null

Contact number of the guest (Required for lead guest).

integer | null

Age of the guest (Optional).

string | null

Guest's passport number (Optional).

date | null

Passport expiry date (Optional).

date | null

Passport issue date (Optional).

uri | null

URL or base64 of front passport image (Optional).

uri | null

URL or base64 of back passport image (Optional).

string | null

PAN card number of the guest (Optional).

string | null

Name as printed on the PAN card (Optional).

Headers
string
required

Bearer token for authenticating the request.

string
enum
required
Defaults to website

Specifies the source of the request (End User Source). Available choices: website, android, mweb, ios, mobile.

Allowed:
Responses

400

Bad Request. One or more request parameters are invalid or missing.

401

Unauthorized - Invalid or missing access token.

404

Not Found. The requested resource could not be located.

422

Bad Request. Client Side Error in Request Body.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json