Postman Collection
Import the RezLive Hotel API into Postman or Insomnia for one-click testing across all 10 endpoints.
⬇
Download Collection (.json)
Postman v2.1 collection with all 10 endpoints, sample requests, and pre-set environment variables.
⚙
Download Environment (.json)
Companion environment file with placeholders for your API key, AgentCode, and UserName.
How to use
- Download both files above.
- Open Postman → Import → drop both files into the dialog.
- In the top-right environment selector, choose RezLive Sandbox.
- Click the environment quick-look (eye icon), set values for
apiKey,agentCode, anduserName. - Open any request in the collection and click Send.
Collection contents
| Folder | Requests |
|---|---|
| 1. Search |
findhotel — Single Roomfindhotel — Multi-Roomfindhotelbyid — Hotel List
|
| 2. Pre-Book |
getcancellationpolicyprebook
|
| 3. Book |
bookhotel — Single Roombookhotel — Multi-Room (pipe-separated)
|
| 4. Post-Book |
getbookingdetailsgetCancellationPolicyAfterBookinggetConfirmationDetailscancelhotel
|
| 5. Static | gethoteldetails |
Built-in test scripts
The Postman collection includes pre-request and test scripts that:
- Auto-extract
SearchSessionIdandBookingKeyfrom a Search response into environment variables. - Auto-populate
BookingIdandBookingCodefrom a Book response. - Generate a unique
AgentRefNofor each Book request (timestamp + UUID). - Set sensible default dates (today + 30 days).
This means you can run the entire flow — Search → Pre-Book → Book → Get Booking Details → Cancel — in sequence with no manual copy-paste.
ℹ
Insomnia, Bruno, and Hoppscotch all support importing Postman v2.1 collections natively.