API action
List your hotels(properties)
See every hotel your key can work for. Each hotel has an id, a number.
About this action
- What it does
- Gives the list of hotels your key can work for. In this API a hotel is called a . Each one has an id.
- When to use it
- At the start, and each time you add a hotel. A needs the id of a hotel for almost every other request.
- Who can use it
- A or a . No scope is needed.
- Address
GEThttps://api.zimmerstack.com/api/v1/connect-api/v1/properties
Things to know
- A company key gets all its hotels. A gets your sandboxes. A gets your real hotels.
- A hotel key gets one hotel. The list then has one item: the hotel of that key.
- This request needs no hotel id. It is how a company key finds the ids. So it does not send the .
The request, in your language
Put your key in place of zsk_test_YOUR_KEY.
Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/properties" -H "Authorization: Bearer zsk_test_YOUR_KEY"What comes back
The is 200. It means: it worked. The answer has the kind of your key and the list of hotels.
{
"statuscode": 200,
"message": "OK",
"data": {
"keyKind": "company",
"properties": [
{
"id": 61,
"name": "The Lantern House",
"timezone": "Asia/Kolkata",
"currency": "INR",
"channelManager": true,
"sandbox": false
},
{
"id": 62,
"name": "Hill View Retreat",
"timezone": "Asia/Kolkata",
"currency": "INR",
"channelManager": true,
"sandbox": false
}
]
}
}- keyKind
- The kind of key you hold.
companyis a company key.propertyis a . - properties
- The list of hotels. One item for each hotel.
- id
- The property id of the hotel. A company key sends it in the
X-ZS-Propertyheader of other requests. - name
- The name of the hotel.
- timezone
- The of the hotel. Every date of this hotel is a date on this clock.
- currency
- The the hotel sells in. Send every rate in it.
- channelManager
- Can the hotel send its numbers to the OTAs? A real hotel you just added shows
trueonce its billing has started. If it staysfalse, send its room types again with Create or change room types. - sandbox
- With
true, this hotel is a . Nothing you send to it reaches an .
Then use the id
With a company key, put the id of a hotel in the X-ZS-Property header of your next requests. A hotel key does not need the header. Next, read one hotel with Check your key.
Common mistakes
This request has no mistakes of its own. The ones below can happen on any request.
Other errors this request can give
- 401 API_KEY_INVALID
- The key is not right. Copy it again, all of it, with no space before or after.
- 403 IP_NOT_ALLOWED
- The key only works from the addresses its owner allowed.
- 429 RATE_LIMITED
- Too many requests in a short time. Wait the number of seconds in the
Retry-Afterheader, then send again. - 401 API_KEY_REVOKED
- The key was switched off, or it was replaced and its extra 24 hours are over. Ask the key's owner for the new key. Nothing else makes this key work.
- 403 SCOPE_MISSING
- The key does not hold the scope this request needs. The answer names it in details.needed. For example channel-bookings:read or direct-bookings:read to read bookings, or direct-bookings:cancel to cancel a website booking. The key's owner gives the scope when editing the key.
- 404 PROPERTY_NOT_FOUND
- The property id is not a hotel this key may use. Read GET /properties again. The hotel's owner may have ended your access.
- 404 PROPERTY_REQUIRED
- You hold a company key, and the request did not say which hotel. Add the header X-ZS-Property with the id of one of your hotels. The answer already lists the first 20 in details.properties (id and name), with details.total for how many there are. GET /properties lists them all.
- 409 ARI_NOT_AUTHORITATIVE
- The hotel is not live yet: your software is not its source of truth, so nothing was saved. GET /readiness says what is missing, and POST /go-live makes the switch. To send rates before that, add the header X-ZS-Before-Go-Live: true. It is the same for a company key and for a hotel's own key: a hotel key with ari:read or ari:write can be made before its hotel is live.
- 409 CHANNEL_MANAGER_DISABLED
- The hotel's channel manager is off, so nothing would be sent to an OTA. details.reason says why. not_on_channel_manager: the hotel was never put on it. With a company key, send its room types and rate plans (PUT /catalog/room-types, then PUT /catalog/rate-plans), or press Finish setup in the Channels app. Either puts it there. switched_off: the hotel's owner switched it off. Only the owner can switch it back on.
- 409 PROPERTY_UNAVAILABLE
- The hotel is deleted or is a demo. Or a test key was used on a real hotel, or a live key on a sandbox. Check which key you send. If the key is right, contact the hotel's owner.
Try it now
No code and no install. This box sends a real request to your . It works with a only, so it can never change a real hotel.
Try it here: check your key
It starts with zsk_test_. It is kept in this browser tab only. Never paste a live key into a web page.
Go deeper
- Make your first call: Check that your key works, and see the hotels it reaches.
- Keys and scopes: The kinds of key, what each may do, and how to replace one.
Words on this page
- Property
- One hotel in ZimmerStack. Each property has its own id, a number.
- Company key
- The key of a software company. One key works for all the hotels of that company.
- Test key
- A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.
- Live key
- A key that starts with zsk_live_. It works on real hotels.
- X-ZS-Property
- The header that tells ZimmerStack which hotel a request is for. Its value is the property id.
- Header
- A small piece of extra information sent with a request, like your key.
- Status code
- A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
- Hotel key
- A key that works for one hotel only. The hotel's owner makes it, or a partner makes it for a hotel it added.
- Time zone
- The clock a place uses. A hotel's dates are always dates on its own clock.
- Currency
- The money a hotel sells in, like INR for rupees or USD for dollars.
- Sandbox
- Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.
- OTA
- Online travel agency: a website that sells hotel rooms, like Booking.com, MakeMyTrip or Agoda. Learn more
- Scope
- One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
New here? Start with the partner path or the one-hotel path.
Routes, samples, limits and codes on this page come from the API's public contract, read live, Sat, 05 Dec 2026 01:08:06 UTC.