Skip to content

Partner path · step 10 of 10

Add your first hotel(a real one, with a live key)

You created a test hotel, gave it room types and rate plans, and sent its numbers. Now you do the same for a real hotel, with a . Then you connect its one at a time.

Before you start

  • You accepted the price and paid the . That is step 9.
  • Your software did every step on a : it created the hotel, its room types and its rate plans, it sent updates, and it received a .
  • The hotel has its own on each OTA it wants to sell on. ZimmerStack does not make a listing. The hotel opens it on the OTA first.

The seven parts below are in the order to do them.

What is the same, and what is new

The same
The addresses, the bodies and the answers. Your code does not change.
New: the key
A live key, in place of your test key.
New: the ids
A real hotel gets its own property id, room type ids and rate plan ids. Read them again. Never copy an id from a test hotel.
New: a year of nights
On your test hotel you sent three nights. For a real hotel you send every night it wants to sell.
New: the OTAs
A real hotel is connected to real OTAs. What you send reaches them.
New: your invoice
A real hotel is on your invoice from the next 1st.

1. Make your live company key

  1. 1

    Open Developers in the partner portal

    Sign in to the partner portal and open Developers. Go to the box named Your company key.
  2. 2

    Press “Create company key”

    A panel opens. Its title is New company key.
  3. 3

    Under Reaches, choose “Your hotels (zsk_live_)”

    The other choice is for your sandbox only. It made your test key.
  4. 4

    Tick the agreement box, if you see it

    It is shown only until your company has accepted the API Partner Agreement. If you ticked it in step 9, it is not there.
  5. 5

    Choose what the key may also do

    Tick Also add and remove hotels to add a hotel from your software. For a live key this box is not ticked by itself. Tick Also make connect links to connect an OTA from your software. Without them you do both by hand in the portal. These two boxes are shown to the account owner and to an Admin.
  6. 6

    Press “Create company key”, then copy the key

    The key starts with zsk_live_. It is shown once. Press Copy, save it on your server, then press I have copied it.

A live key is a , like your test key. It works for every hotel you add. On each request you say which hotel it is for, with the .

2. Add a webhook for your hotels

The webhook you made in step 8 receives your test hotels only. Real bookings need one more. In the box Your company webhook, press Add company webhook again. Under Receives, choose Your hotels.

One address for all hotels
This webhook receives the events of every hotel your live key works for. Each message names its hotel in property.id.
Its own secret
The new endpoint has its own signing secret. Save it on your server, next to the first one.
How many
Your company can have up to three company webhooks, for hotels and test hotels together.

3. Create the hotel

It is the request of step 4, now with your live key. You can also add the hotel by hand. Both do the same thing.

By hand
In the partner portal, open “Enroll client”. Fill in the hotel, its owner and its room types, and send the form.
From your software
Send the request Add a hotel. Your key needs the box Also add and remove hotels.

What your software sends

The same body as for your test hotel. This time every value is real.

hotel.json
{
  "name": "The Lantern House",
  "owner": {
    "name": "Asha Rao",
    "email": "asha@lanternhouse.example",
    "phone": "+91 98765 43210"
  },
  "address": {
    "line1": "14 Hill Road",
    "city": "Shimla",
    "country": "IN"
  },
  "roomTypes": [
    {
      "ref": "rt-deluxe",
      "name": "Deluxe Room",
      "roomCount": 10,
      "defaultRate": 4500
    }
  ]
}
name
The hotel's name, as its guests know it.
owner
The person who owns the hotel's account: name, email and phone. The sign-in details go to this email. You never see them.
address
The first line, the city and the country are needed.
taxId
One more field, for a hotel in India that has a GSTIN. Leave it out for every other hotel.
roomTypes
At least one , each with its name, how many rooms it has, and a first price. ref is your own name for it. See .

The request also needs these headers.

Authorization
The word Bearer, one space, then your live company key.
Content-Type
application/json
X-Idempotency-Key
A code you choose, 10 to 64 letters, digits, - or _. This request must have it. If you send the same request again with the same code, no second hotel is made. See .
X-ZS-Property
Not sent here. The hotel does not exist yet.

The action page Add a hotel has the request in every language.

What comes back

response · status code 201 · the data part
{
  "id": 63,
  "name": "The Lantern House",
  "timezone": "Asia/Kolkata",
  "currency": "INR",
  "channelManager": false,
  "sandbox": false,
  "billing": {
    "state": "ACTIVE",
    "reason": null,
    "message": "This hotel's billing has started: it is on your next monthly invoice."
  },
  "replay": false
}
id
The id of the new hotel. Save it. Send it in X-ZS-Property with every later request for this hotel.
sandbox
false: this is a real hotel.
channelManager
Is the hotel on the ? false means: not yet. ZimmerStack puts it there when its billing starts. Part 4 says how you see it.
billing.state
ACTIVE: the hotel is on your next monthly invoice. WAITING: something must be done first, and billing.message says what.
replay
true means this was a repeat of an earlier request, and no new hotel was made.
The owner
The hotel's owner gets the sign-in details by email, unless you turned that email off in the portal's Settings: then you hand them over from the portal.
Your key
Your live company key works for the hotel at once.
Your invoice
The hotel is on your invoice from the next 1st. The days before that are free.
Its first rate plan
Each room type you send here starts with one , room only, as on your test hotel.

4. Send its room types and rate plans

These are the requests of step 5 and step 6, with the id of the real hotel.

  1. Send the room types with Create or change room types. Use the same ref you gave when you created the hotel. Then each one stays one room type, and no second one is made.
  2. Send the rate plans with Create or change rate plans.
  3. Read the ids with Get room types and rate plans. Save them next to your own room and price names.
When the hotel is on the channel manager
A hotel you create with its room types is put there when its billing starts. That is at once, unless billing.state says WAITING.
How you see it
List your hotels shows channelManager: true. In the answer of these requests, each item has a sync state. IN_SYNC means our connectivity partner has it.
If it is not there yet
A request for the hotel then answers 409 CHANNEL_MANAGER_DISABLED. Send its room types again, with the same ref. That puts the hotel there, and makes no second room type.
By hand
In the partner portal, open Hotels and then the hotel. A hotel that is not there yet has the button “Finish setup”.

5. Send a year of rates and availability

These are the requests of step 7. There you sent three nights. Now send every night the hotel wants to sell, for the next 365 nights.

  1. , for each rate plan: Update rates.
  2. , for each room type: Update availability.
  3. , if the hotel has any: Update restrictions.
One item, many nights
Each item has a first night and a last night. A whole year of one rate plan can be one item.
No OTA sees it yet
No OTA is connected at this point. So nothing can sell by mistake.
Wait until it is sent
Ask Get sync status until it says IN_SYNC. Ask at most once every 15 seconds. See .

6. Connect its OTAs, one at a time

This part is new: a test hotel has no OTA. Each OTA is connected in two parts. First the hotel does a step at the OTA itself. Then the hotel's own person uses a link on a page that ZimmerStack hosts.

  1. 1

    The hotel does the step at the OTA

    Every OTA but Airbnb must first accept our for the hotel, in its or through its support. This can take days, and no request of the API does it. The step at each OTA lists what to do.
  2. 2

    Make a connect link

    Send Make a connect link for one hotel and one OTA. Your key needs the box Also make connect links. The answer has url, and hotelStep: the step at the OTA in one sentence, with the name the OTA shows. If the hotel has not done that step yet, send it hotelStep and wait.
  3. 3

    Send the link once that step is done

    Send the url to the hotel's own person. It is in this one answer only, and the page works for two hours once opened. If the link runs out first, make a new one. See .
  4. 4

    The hotel's person does three things

    They type the hotel's id at the OTA on our page (MakeMyTrip also asks for its access token). For Airbnb, the host signs in on Airbnb's own page instead. They say which room and rate on the OTA is which room type and rate plan of the hotel. This is called . Then they press Start selling.
  5. 5

    Wait for the webhook

    Your server receives an of the type channel.connect.completed. Tick this event on your webhook first. You can also ask with Get a connect link: its status is then completed.
When “Start selling” is pressed
ZimmerStack sends the hotel's whole calendar to that OTA. From that minute, the OTA's bookings reach your server by webhook.
Then the next OTA
Make a new connect link for the next OTA. One link is for one hotel and one OTA.
If the link ran out
A link works for a few days. If nobody used it in time, your server receives channel.connect.expired. Make a new link.
By hand
The same can be done in the partner portal: open Hotels, then the hotel's page.
A hotel that moves from another channel manager
Booking.com, Agoda and MakeMyTrip work with one channel manager at a time. Move a hotel to ZimmerStack says how to move with no missed booking.

7. The hotel is live

A hotel you added yourself is live from its first day. There is no switch to press. When its first OTA starts to sell, real guests can book.

  • Send every change of rates, availability and restrictions to ZimmerStack when it happens.
  • When a arrives by webhook, lower the availability in your own software first. Send availability only after that.
  • On the first evening, compare the bookings in each OTA's extranet with the bookings in your software.

A hotel that already used ZimmerStack before you is different. It needs a check first: see Go live.

What you should see

List your hotels
List your hotels, sent with your live key, shows the new hotel with channelManager: true.
In the partner portal
On Developers, the hotel is under “Hotels a live company key reaches”, marked “Channel manager on”.
Get sync status
IN_SYNC: nothing is waiting to be sent.
Your connect link
Its status is completed, and your server received channel.connect.completed.

If it does not work

The live key cannot be made
The onboarding fee is not paid yet. Pay it on the Billing page first.
409 BILLING_SETUP_REQUIRED
You did not finish the step Accept the price. Accept the price list and add your billing details. Then send the request again with a new idempotency key.
400 IDEMPOTENCY_KEY_INVALID
Add a hotel needs the X-Idempotency-Key header: 10 to 64 letters, digits, - or _.
409 OWNER_HAS_ACCOUNT
The owner's email already has a ZimmerStack account. Such a hotel joins you another way: its owner enters your in the hotel's own ZimmerStack, under Integrations.
403 SCOPE_MISSING
Your key may not do this. Make a new company key, and tick the box for what you need.
409 LIVE_KEY_REQUIRED
A connect link connects a real OTA. Make it with a live key, not a test key.
409 CHANNEL_MANAGER_DISABLED
The hotel is not on the channel manager yet. Send its room types again with the same ref, or press “Finish setup” on the hotel's page in the portal.

Words on this page

Live key
A key that starts with zsk_live_. It works on real hotels.
OTA
Online travel agency: a website that sells hotel rooms, like Booking.com, MakeMyTrip or Agoda. Learn more
Onboarding fee
A fee you pay one time only, before your first live key.
Test hotel
A hotel in your sandbox. It works like a real hotel, but no OTA can see it and nothing is billed.
Webhook
A message ZimmerStack sends to your server when something happens, like a new booking.
Listing
A hotel's own page on an OTA, with its rooms, photos and prices.
Allowlist
A list of internet addresses a key may be used from. From any other address the key is refused.
Company key
The key of a software company. One key works for all the hotels of that company.
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.
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.
Ref
Your own name or id for a room type or a rate plan. You choose it, and ZimmerStack remembers it.
Idempotency key
A code you choose and send with an update. If the same update is sent twice by mistake, it is done only once.
Property
One hotel in ZimmerStack. Each property has its own id, a number.
Channel manager
Software that keeps a hotel's rooms and prices the same on every OTA. Learn more
Rate plan
One way to sell a room type, with its own price. For example Room only, or With breakfast.
Rates
The price of a room for one night. Learn more
Availability
How many rooms of one room type are free to sell on 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
Sync
Short for synchronise: making the OTAs hold the same numbers as ZimmerStack.
Connectivity partner
The company that carries ZimmerStack's numbers to each OTA and brings the bookings back. You never call it. Where an API name says channel manager, it means this last step. Learn more
Extranet
The website an OTA gives a hotel to manage its own listing, like the Booking.com extranet.
Connect link
A one-time link you send to a hotel: the last step of connecting one OTA. Except on Airbnb, the OTA must first accept our connectivity partner for the hotel. Then the hotel's person types the hotel's id at the OTA, matches the rooms and rates, and starts selling.
Mapping
Saying which room and price in one system is which room and price in another system. For an OTA: each of its rooms and rates is matched to one of the hotel's rate plans. A person makes the first matching. Changing it later is called a re-map. Learn more
Event
One thing that happened, like a new booking. Each webhook carries one event.
Booking
A guest has reserved a room for some nights. Also called a reservation.
Vendor code
A short code of your company. A hotel that already uses ZimmerStack enters it to let your software in.

Routes, samples, limits and codes on this page come from the API's public contract, read live, Sat, 05 Dec 2026 01:08:01 UTC.