API action
Reply on a ticket
Add your message to a ticket. The ticket then waits for ZimmerStack again.
About this action
- What it does
- Adds one message from you to an open support . The
statusof the ticket becomesOPEN. - When to use it
- To answer a question from support. Also to add a new fact, like the time the problem happened again.
- Who can use it
- A only. The key needs the
support:write. - Address
POSThttps://api.zimmerstack.com/api/v1/connect-api/v1/support-tickets/{ticketId}/messages
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.
You send one field: your message.
- message
- Text, up to 5000 letters. Required. Your reply. Never paste a key, a secret or a guest's details.
{
"message": "It started again at 14:20 India time, on hotel 61 only."
}Things to know
- A closed ticket takes no more messages. The answer is then
409 SUPPORT_TICKET_CLOSED. Open a new ticket, and name the old one in it. - Send each message once. Add the
X-Idempotency-Keywith a code you choose (). A repeat of the same request then adds no second message.
The request, in your language
Put your key in place of zsk_test_YOUR_KEY.
Save the example above as reply-on-a-ticket.json. Open a terminal in the same folder and run this. On Windows PowerShell, type curl.exe instead of curl.
curl -X POST "https://api.zimmerstack.com/api/v1/connect-api/v1/support-tickets/1042/messages" -H "Authorization: Bearer zsk_test_YOUR_KEY" -H "Content-Type: application/json" -d "@reply-on-a-ticket.json"What comes back
The is 201. It means: your message was added. The answer is the whole ticket, with the same fields that Get a ticket shows.
{
"statuscode": 201,
"message": "Message added",
"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-22T08:52:31.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": "2026-11-22T04:31:40.000Z"
},
"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"
},
{
"id": 3311,
"author": "zimmerstack",
"body": "Booking.com signed both hotels out at 09:11 IST. Both are connected again since 09:58 IST, and the three bookings made in between have reached your webhook. Write here if anything is still missing.",
"createdAt": "2026-11-22T04:31:40.000Z"
},
{
"id": 3312,
"author": "partner",
"body": "It started again at 14:20 IST on hotel 61 only.",
"createdAt": "2026-11-22T08:52:31.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
- Now
OPEN: the ticket waits for ZimmerStack again. - messages
- Every message, oldest first. Your new message is the last one.
- lastMessageAt
- The time of your new message.
Common mistakes
- 400 VALIDATION
- The
messageis missing, empty or longer than 5000 letters. - 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.
- 409 SUPPORT_TICKET_CLOSED
- The ticket is closed. Open a new one with Open a support ticket, and name this ticket in it.
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.
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: reply on 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.
- 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.
- Header
- A small piece of extra information sent with a request, like your key.
- 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.
- 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.