API action
Get a ticket
Read one ticket with every message in it.
About this action
- What it does
- Reads one support : its state, all its messages, oldest first, and the that was saved when it opened.
- When to use it
- After a named
support.ticket.replied, or after an email from support, to read the reply. - Who can use it
- A only. The key needs the
support:write. - Address
GEThttps://api.zimmerstack.com/api/v1/connect-api/v1/support-tickets/{ticketId}
What you send
In the address:
- ticketId
- The ticket's id, a number. It is the
idin the answer of Open a support ticket and of List your tickets.
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/support-tickets/1042" -H "Authorization: Bearer zsk_test_YOUR_KEY"What comes back
The is 200. The answer is the whole ticket.
{
"statuscode": 200,
"message": "OK",
"data": {
"id": 1042,
"subject": "Bookings from Booking.com stopped arriving on two hotels",
"severity": "many_hotels",
"status": "OPEN",
"mode": "live",
"properties": {
"all": false,
"ids": [
61,
62
]
},
"openedAt": "2026-11-22T04:05:12.000Z",
"lastMessageAt": "2026-11-22T04:05:12.000Z",
"firstReply": {
"target": "Within 60 minutes, 9:00 to 21:00 IST, every day. Opened outside those hours: by 10:00 IST.",
"dueAt": "2026-11-22T05:05:12.000Z",
"repliedAt": null
},
"closedAt": null,
"closedBy": null,
"messages": [
{
"id": 3310,
"author": "partner",
"body": "Since about 09:10 IST no new Booking.com booking has reached our webhook for either hotel. Their extranets show three bookings made since then. Other booking sites are arriving.",
"createdAt": "2026-11-22T04:05:12.000Z"
}
],
"diagnostic": {
"takenAt": "2026-11-22T04:05:12.000Z",
"windowHours": 24,
"requests": {
"refused": 3,
"byCode": [
{
"status": 429,
"errorCode": "RATE_LIMITED",
"count": 3,
"lastAt": "2026-11-22T03:58:40.000Z"
}
],
"lastRefused": [
{
"requestId": "rq_mi8x3k2a9f2c1a7e",
"at": "2026-11-22T03:58:40.000Z",
"method": "PUT",
"route": "/rates",
"status": 429,
"errorCode": "RATE_LIMITED",
"propertyId": 61
}
]
},
"hotels": [
{
"propertyId": 61,
"inventory": {
"pendingCells": 0,
"outOfSyncSince": null,
"lastOkAt": "2026-11-22T04:03:55.000Z"
},
"rates": {
"waitingCells": 0,
"refusedCells": 0,
"lastPushAt": "2026-11-22T03:59:02.000Z",
"lastErrorAt": null,
"consecutiveFailures": 0
},
"channelIssues": [
{
"event": "disconnect_channel",
"count": 1,
"since": "2026-11-22T03:41:18.000Z"
}
],
"shield": {
"level": "CLEAR",
"until": null
},
"usage": {
"cellsChanged": 1138,
"refusals": 0,
"refusedByChannelManager": 0
}
}
],
"hotelsNotShown": 0,
"partner": {
"shield": {
"level": "CLEAR",
"until": null
},
"usage": {
"cellsChanged": 20914,
"refusals": 0,
"refusedByChannelManager": 0
}
},
"webhooks": [
{
"endpointId": 7,
"status": "ACTIVE",
"consecutiveFailures": 0,
"failingSince": null,
"lastSuccessAt": "2026-11-22T03:39:50.000Z",
"lastFailureAt": null,
"deliveries": {
"delivered": 212,
"failed": 0,
"pending": 0
},
"lastFailed": []
}
],
"incomplete": []
}
}
}- status
- The value
OPENmeans: the ticket waits for ZimmerStack.ANSWERED: we replied, and it waits for you.CLOSED: it is closed. - messages
- Every message, oldest first. The
authorispartner(you) orzimmerstack, andbodyis the text. - firstReply.repliedAt
- The time ZimmerStack first answered. Empty (
null) until then. - diagnostic
- What ZimmerStack's own records showed when the ticket opened. It holds ids, counts, states and times only.
- diagnostic.incomplete
- The parts that could not be read when the ticket opened. An empty list means: none.
- closedAt, closedBy
- When the ticket was closed, and by whom:
partner(you) orzimmerstack. Empty (null) while it is open.
Then reply, or close the ticket
To answer, use Reply on a ticket. When the problem is gone, use Close a ticket.
Common mistakes
- 403 COMPANY_KEY_REQUIRED
- You used a hotel key. This request works with a company key only.
- 404 SUPPORT_TICKET_NOT_FOUND
- No ticket with this id for your company and this kind of key. A ticket opened with a live key cannot be read with a test key. A ticket opened with a test key cannot be read with a live key.
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 SCOPE_MISSING
- The key is not allowed to do this. It needs the scope
support:write. - 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.
- 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: get a ticket
It starts with zsk_test_. It is kept in this browser tab only. Never paste a live key into a web page.
Go deeper
- Support and uptime: How to reach us, and how fast we answer.
Words on this page
- Ticket
- One question or problem you sent to support, with all its replies.
- Diagnostic
- Facts from ZimmerStack's own records about your requests, your hotels and your webhooks, saved with a support ticket.
- Webhook
- A message ZimmerStack sends to your server when something happens, like a new booking.
- Company key
- The key of a software company. One key works for all the hotels of that company.
- Scope
- One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
- Status code
- A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
- Sandbox
- Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.
- Test key
- A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.
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, Fri, 04 Dec 2026 16:20:29 UTC.