API action
Check your key(and read one hotel)
Check that your key works. See which hotel it is for, and what the key may do.
About this action
- What it does
- Gives one hotel: its name, its , its and its limits. It also lists the of your key.
- When to use it
- As your first request, to test a new key. Also when a request is refused and you want to see what the key may do.
- Who can use it
- A or a . A company key names the hotel with the . No scope is needed.
- Address
GEThttps://api.zimmerstack.com/api/v1/connect-api/v1/property- Before this
- A company key needs the property id of the hotel. Get it with List your hotels.
The request, in your language
Show the examples for
A sandbox's own key works for one hotel: choose "A hotel key" for it.
Put your key in place of zsk_test_YOUR_KEY, and your hotel's property id in place of YOUR_PROPERTY_ID.
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/property" -H "Authorization: Bearer zsk_test_YOUR_KEY" -H "X-ZS-Property: YOUR_PROPERTY_ID"Put your key in place of zsk_test_YOUR_KEY. A hotel key works for one hotel, so the request does not name the hotel.
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/property" -H "Authorization: Bearer zsk_test_YOUR_KEY"What comes back
The is 200. It means: the key works. The answer describes the hotel and your key.
{
"statuscode": 200,
"message": "OK",
"data": {
"id": 61,
"name": "The Lantern House",
"timezone": "Asia/Kolkata",
"currency": "INR",
"inventoryScope": "PMS_CM",
"sandbox": false,
"horizonDays": 500,
"ariAuthoritative": true,
"scopes": [
"bookings:read",
"bookings:write"
],
"products": {
"channelManager": true,
"pms": true
},
"limits": {
"requestsPerMinute": 120,
"writesPerMinute": 30,
"maxUpdatesPerRequest": 1000,
"maxCellsPerRequest": 5000,
"bookingsPerMinute": 20,
"cellsPerHour": 10000,
"cellsPerDay": 30000,
"maxRoomTypes": 18,
"maxRatePlans": 180,
"ratePlansPerRoomType": null,
"newEntitiesPerMinute": 20
},
"usage": {
"cellsThisHour": 43,
"cellsLast24h": 1138
},
"shield": {
"level": "CLEAR",
"reason": null,
"until": null
},
"sync": {
"state": "IN_SYNC",
"pendingCells": 0
}
}
}- id, name
- The id of the hotel, and its name.
- timezone
- The time zone of the hotel. Every date in this API is a date on this clock.
- currency
- The currency of the hotel. Every rate must be sent in it.
- sandbox
- With
true, your key is a on a . Nothing you send reaches an . - scopes
- What this key may do. A request that needs another scope gets the error
403 SCOPE_MISSING. - products
- What the hotel uses. Availability, rates and restrictions need
channelManager: true. Creating a needspms: true. - ariAuthoritative
- With
true, the hotel is : what you send goes to the OTAs. Withfalse, the hotel is not live yet. - horizonDays
- How many days ahead you may send. The last night is today plus this number.
- limits
- The limits of this key and of this hotel. Get your limits shows how much is left.
- usage
- How many changed this hotel used in this hour and in the last 24 hours.
- shield
- Is anything holding your updates back?
level: CLEARmeans no.PAUSEDmeans only updates that stop selling are accepted.SUSPENDEDmeans every update is refused. - sync
- The state of the hotel's availability.
IN_SYNCmeans nothing is waiting.pendingCellscounts what is still on its way.
Then read the ids
The key works. Next, get the ids of the hotel's room types and rate plans with Get room types and rate plans.
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.
- 400 PROPERTY_REQUIRED
- You hold a company key and did not name the hotel. Add the
X-ZS-Propertyheader. - 404 PROPERTY_NOT_FOUND
- The property id is not one of your hotels. Use an id from List your hotels.
- 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.
- 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
- Keys and scopes: The kinds of key, what each may do, and how to replace one.
Words on this page
- 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.
- Scope
- One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
- Company key
- The key of a software company. One key works for all the hotels of that company.
- 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.
- 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.
- Property
- One hotel in ZimmerStack. Each property has its own id, a number.
- Test key
- A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.
- 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
- Booking
- A guest has reserved a room for some nights. Also called a reservation.
- Go live
- The moment a real hotel starts to sell through your software.
- Cell
- One night of one room type or rate plan. An update for 3 nights of 1 room type is 3 cells.
- Sync
- Short for synchronise: making the OTAs hold the same numbers as ZimmerStack.
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:07 UTC.