Get room types and rooms
Rooms
The property's inventory: its room types and, inside each, the physical rooms that belong to it. A room type is what is sold (Double Standard, Suite) and carries its name and description in every supported language, its maximum occupancy and its display colour; a room is the physical unit (its number, floor and door) and carries the housekeeping status it is in right now — clean, dirty, inspected or in revision. The response is a map, not a list: keys are roomTypeId, and inside each type rooms is keyed by room ID. This is where the roomTypeId used to check availability and to create a booking comes from. Inventory changes rarely — fetch it once and keep it, but do not cache the housekeeping status, which changes through the day.
Console
Runs against the API from your browser, with the same request your server will send.
Environment
Production
https://uni-api.hotelgest.com
Calls hit live data with your own API key. A POST, PUT, PATCH or DELETE here changes a real property.
Credentials
The API key, sent on every request. A property admin creates it in the PMS under Settings → API keys; a partner receives one per property when the property activates its integration. It works only for the property it was issued for, and only on the endpoints granted to it.
This endpoint needs a credential. Without it you will get a 401.
Stored in this browser only. Never sent anywhere but the API host above.
Path parameters
Send the request to see the real response here.
Nothing is mocked. What comes back is what the API returned.
Requests go straight from your browser to the API host above — nothing is proxied through this site.
Path parameters
Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.
Responses
Ok. If your API key answers encrypted — every key issued now does, and every partner credential — this body arrives as the encryption envelope ({ crypto, protected, wrappedKey, iv, payload, tag }, a compact JWE), and the schema below is what its payload decrypts to. See https://public-api.hotelgest.com/public/guides/encryption
What is a pcode?
Rate limits