RezLive

Postman Collection

Import the RezLive Hotel API into Postman or Insomnia for one-click testing across all 10 endpoints.

How to use

  1. Download both files above.
  2. Open Postman → Import → drop both files into the dialog.
  3. In the top-right environment selector, choose RezLive Sandbox.
  4. Click the environment quick-look (eye icon), set values for apiKey, agentCode, and userName.
  5. Open any request in the collection and click Send.

Collection contents

FolderRequests
1. Search findhotel — Single Room
findhotel — Multi-Room
findhotelbyid — Hotel List
2. Pre-Book getcancellationpolicy
prebook
3. Book bookhotel — Single Room
bookhotel — Multi-Room (pipe-separated)
4. Post-Book getbookingdetails
getCancellationPolicyAfterBooking
getConfirmationDetails
cancelhotel
5. Static gethoteldetails

Built-in test scripts

The Postman collection includes pre-request and test scripts that:

  • Auto-extract SearchSessionId and BookingKey from a Search response into environment variables.
  • Auto-populate BookingId and BookingCode from a Book response.
  • Generate a unique AgentRefNo for 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.