Skip to content

Guide

Guest contact(a guest's phone and email)

A guest's phone and email are the most personal part of a booking. Together they are called . You get them only when you have switched them on. You can read them back for 30 days after . The hotel's owner can see every read.

The idea

Your software needs a guest's phone and email to run the stay: a message before arrival, a call about a late . It does not need them for ever. And it should not get them without asking. This is .

So there are two rules. One is for what ZimmerStack sends you. One is for what you read back.

On a webhook
A gets the phone and the email only while its owner has guest contact switched on. It can be switched at any time. A partner's company endpoint starts with it off.
On a read by API
The API returns a guest's phone and email until 30 days after check-out. After that, guest.phone and guest.email are null, and guest.contactWithheld says "retention". So you can tell this from a booking that never had a phone or an email. The name, the stay and the money stay.
Where the read rule applies
GET /channel-bookings, GET /direct-bookings, the read of one booking of each kind, and GET /events. The rule is the same for a hotel's own key and for a partner's key.
Every read is recorded
Every read that returned contact is recorded: the key, the partner behind it, when, and which bookings. The hotel's owner sees the list. If a read cannot be recorded, its answer goes out with contactWithheld "unavailable". Ask again.

An example

A guest stays at The Lantern House in March. In May your support tool reads the , to answer a question about the invoice. The name, the stay and the money are all there. The phone and the email are not, and the answer says why.

GET /channel-bookings/4182 · the guest part of the answer, 45 days after check-out
{
  "guest": {
    "fullName": "Asha Verma",
    "firstName": "Asha",
    "lastName": "Verma",
    "phone": null,
    "email": null,
    "contactWithheld": "retention",
    "country": "IN",
    "language": "en"
  }
}
contactWithheld: "retention"
The guest checked out more than 30 days ago. This is final. If you ask again, the answer is the same.
contactWithheld: "unavailable"
The read could not be recorded just now. Contact never leaves without its record. Ask again in a moment.
No contactWithheld, and phone is null
The booking never had a phone. The sent none. Some OTAs send a relay address in place of the guest's own email. A relay address is an email address the OTA makes, which passes mail on to the guest. Some OTAs send nothing. That is their own rule.
On a webhook
An endpoint with guest contact off gets no phone field and no email field at all. An endpoint with it on gets what the booking has, under the same 30 days. An about a stay that ended longer ago arrives with phone and email null, and contactWithheld: "retention". Two examples are a late change, and an event that is recovered or sent again.
In the delivery log of an endpoint
The can be read back by API. There, the body of a delivery shows the phone and the email masked: hidden behind other characters. The delivery log is for checking deliveries. Read a guest's contact from the booking.

Switch guest contact on for a webhook

An endpoint made by API starts with guest contact off. Send PATCH with includeGuestContact to switch it, at any time. It applies to every made from then on.

PATCH /webhook-endpoints/7 · what you send
{
  "includeGuestContact": true
}

Put your in place of zsk_test_YOUR_KEY, and the id of your endpoint in place of 7. The full page of this request is Change a webhook endpoint.

Save the example above as switch-guest-contact.json. Open a terminal in the same folder and run this. On Windows PowerShell, type curl.exe instead of curl.

terminal
curl -X PATCH "https://api.zimmerstack.com/api/v1/connect-api/v1/webhook-endpoints/7" -H "Authorization: Bearer zsk_test_YOUR_KEY" -H "Content-Type: application/json" -d "@switch-guest-contact.json"
200 · the data part of the answer
{
  "id": 7,
  "includeGuestContact": true,
  "status": "ACTIVE",
  "…": "the rest of the endpoint"
}
Where else the switch is
On the card of the endpoint in the partner portal, under Developers. And on a hotel's own endpoint, in Admin → Developers → Webhooks.
From when it applies
To every delivery made from then on. A delivery that is sent again counts too.
It never reaches past the 30 days
Switching it on, and then recovering old events, does not bring back the contact of stays that ended longer ago.
Nothing is sent twice
Nothing that was already delivered is sent again.

What the hotel's owner sees

In Admin → Developers, the hotel's owner has a list named "Guest contact read by API". It shows which key read, which software company is behind the key, when, and which bookings. The contact itself is never in that list.

A hotel can ask you why you read the phone numbers of 400 guests last Tuesday. The hotel sees that in this list. So read contact where a person needs it. Do not read it in a nightly job over every booking.

One rule for every key

The 30 days apply to a hotel's own key exactly as to a partner's company key. The limit is on the API, not on who is asking. A hotel's own key can leak like any other key. The hotel's staff still see the guest on ZimmerStack's own screens. Those screens are not an API read.

Words on this page

Guest contact
A guest's phone number and email address.
Check-out
The day a guest leaves. It is not a night of the stay.
Check-in
The day a guest arrives.
Personal data
Information about a person, like a name, a phone number or an email address. Laws protect it.
Webhook endpoint
The address of your server where ZimmerStack sends webhooks.
Booking
A guest has reserved a room for some nights. Also called a reservation.
OTA
Online travel agency: a website that sells hotel rooms, like Booking.com, MakeMyTrip or Agoda. Learn more
Event
One thing that happened, like a new booking. Each webhook carries one event.
Delivery log
The list of webhooks sent to one webhook endpoint, with the answer your server gave to each.
Delivery
One webhook sent to one of your webhook endpoints, with every try to send it.
Company key
The key of a software company. One key works for all the hotels of that company.

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