Skip to content

One-hotel path · step 1 of 2

Get your key from the hotel's owner

A key proves that your software may work with this hotel. Only the hotel's owner can make it. This page says what to ask for, and where the owner clicks.

What a hotel key is

An is a long secret code. Your software sends it with every . It tells ZimmerStack who is calling.

Your key is a . It works for one hotel only. So a request never has to say which hotel it is for.

A key also has . A scope is one thing the key is allowed to do. The owner ticks the scopes when making the key.

Ask for a test key first

A starts with zsk_test_. It works only on a .

The sandbox is a copy of the hotel. It has the same and . No can see it. Nothing you do there is billed, and no guest sees it.

So you can try everything, and you cannot break the real hotel.

Later you ask for a . It starts with zsk_live_ and works on the real hotel. Your code stays the same. Only the key changes.

Which scopes to ask for

Find your job in this table. Ask the owner for these scopes, and no more.

  • Scopes to ask forari:readari:writechannel-bookings:read
    Where you testOn the sandbox, with a test key.
  • Scopes to ask forbookings:writebookings:readAdd bookings:payments only if your website takes the guest's money.
    Where you testOn the real hotel, with a live key.
  • Scopes to ask forchannel-bookings:readdirect-bookings:readbookings:readOne scope for each list. Ask only for the lists you read.
    Where you testOn the sandbox, with a test key. A test key cannot hold bookings:read.
  • Scopes to ask forNo scope. The owner adds your server's address in Admin instead.Ask for channel-bookings:read if you also want to read a booking again by API.
    Where you testOn the sandbox.

A request that needs a scope your key does not hold gets the answer 403 SCOPE_MISSING. The answer names the missing scope.

The owner can add a scope later. Your key stays the same, and your software keeps working.

Every scope a hotel key can hold

ari:read
Read , and . Also check that an update reached the OTAs.
ari:write
Update availability, rates and restrictions. On a sandbox, also make test bookings.
catalog:write
Create and change room types and rate plans.
channel-modifiers:write
Set the price modifier of one OTA.
channel-bookings:read
Read each the OTAs sent.
direct-bookings:read
Read the bookings guests made on the hotel's own website, through the ZimmerStack .
direct-bookings:cancel
Cancel one of those website bookings, and choose the .
bookings:read
Read the bookings your own key created.
bookings:write
Create and cancel bookings in the ZimmerStack PMS.
bookings:payments
Record a payment on a booking your key creates. It needs bookings:write too.

The three scopes that start with bookings: need a hotel that runs the ZimmerStack PMS. All the others need a hotel that uses ZimmerStack as its . Admin shows the owner which scopes the hotel can use.

Where the owner clicks

Send these steps to the owner. Only the owner's own login can make a key. A staff login can see the keys, but cannot make one.

  1. 1

    Open Admin, then Developers, then API keys

    Admin is at admin.zimmerstack.com. In the menu, find Developers and choose API keys. The Channels app has the same screen under Integrations.
  2. 2

    Make the sandbox

    Find the card named Sandbox and press Create sandbox. This is done once. An owner has one sandbox.
  3. 3

    Open the sandbox

    Press Open sandbox keys on the same card. The screen now shows the sandbox, not the real hotel.
  4. 4

    Press Create key

    A panel opens. Type a Name, for example "Website developer, test". The name is only for the owner.
  5. 5

    Tick the scopes

    They are under What this key may do, in two groups: Channel manager and PMS. Each tick box shows its scope in small letters, like ari:write.
  6. 6

    Press Create key again, then copy the key

    The panel now says Your new API key. Press Copy key, then Done.

For a live key the steps are the same, without steps 2 and 3. The owner stays on the real hotel and presses Create key.

The key is shown once

The screen shows the whole key one time only. After that, nobody can read it again. ZimmerStack cannot read it either.

So ask the owner to send you the key at once, in a safe way. A password manager is a good way. A chat group is not.

The key is lost
The owner can the key: press Rotate on it. A new key is shown once. The old key keeps working for 24 hours, then it stops.
Someone else saw the key
The owner can the key: press Revoke on it. The key stops working at once. Then the owner makes a new key.
You need one more scope
The owner presses Edit and ticks it. The key itself does not change.
You need a second key
A hotel can have up to five working keys. Use one key for each of your systems, so they never share one.

Keep the key on a server

A key is like a password. Use it only from your . Send it in the Authorization and nowhere else.

  • Do not put it in the code of a web page. Anyone can read that code.
  • Do not put it in a mobile app.
  • Do not save it in your code files. Keep it in your server's settings.
  • Do not send it in a chat or an email.

Words on this page

API key
A long secret code that proves who is calling the API. Keep it safe like a password.
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.
Request
One message your software sends to the API.
Scope
One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
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.
Sandbox
Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.
Room type
A kind of room the hotel sells, like Deluxe Room or Family Suite. A hotel can have 12 rooms of one room type.
Rate plan
One way to sell a room type, with its own price. For example Room only, or With breakfast.
OTA
Online travel agency: a website that sells hotel rooms, like Booking.com, MakeMyTrip or Agoda. Learn more
PMS
Property management system: the software a hotel uses at its front desk for bookings, guests and bills.
Availability
How many rooms of one room type are free to sell on one night. Learn more
Rates
The price of a room for one night. Learn more
Restrictions
Stay rules for a night, like a minimum stay of 2 nights, or no arrival on that day. Learn more
Booking
A guest has reserved a room for some nights. Also called a reservation.
Booking engine
The part of a hotel's own website where a guest books a room.
Refund
Money given back to a guest.
Channel manager
Software that keeps a hotel's rooms and prices the same on every OTA. Learn more
Rotate
To replace a key or a secret with a new one. The old one keeps working for a short time.
Revoke
To switch a key or a link off for good.
Server
A computer that runs your software all the time and can be reached over the internet.
Header
A small piece of extra information sent with a request, like your key.
Allowlist
A list of internet addresses a key may be used from. From any other address the key is refused.

Routes, samples, limits and codes on this page come from the API's public contract, read live, Fri, 04 Dec 2026 22:25:25 UTC.