Before you can start making RtB API calls, we will cover some basics such as authorization, authentication, rate limiting and versioning.
As with any other Connectivity API, you can use machine account based authentication.
RtB API requires the same property permissions as the Reservations API.
We apply rate limiting in the RtB API, please see connectivity rate limiting for more information.
It is mandatory to send a versioning header when using the RtB API.
You can use X-Booking-Api-Version header to pass the version information.
Currently, the minimum version is 1.0.0 and the latest version is 1.0.0.
X-Booking-Api-Version: 1.0.0Below headers are mandatory to provide when making RtB API calls.
| Header | Description | Type | Required |
|---|---|---|---|
Authorization | Your Base-64 encoded username and password. | String | Required |
X-Booking-Api-Version | API Version | String | Required |
To make use of pre-reservation messaging via Messaging API, head to pre-reservation messaging section.
This requires implementing Messaging API.