API action
List your recent requests(your own request log)
See the requests your key sent in the last 7 days. Use it to find a request that failed.
About this action
- What it does
- Gives a list of each made with your key, the newest first. Each one has its time, its address and its .
- When to use it
- When you want to know if a request arrived. Also to find your errors, and to check that nobody else uses your key.
- Who can use it
- A or a . No scope is needed.
- Address
GEThttps://api.zimmerstack.com/api/v1/connect-api/v1/requests
What you send
At the end of the address, after a question mark:
- since
- Optional. A date and time, like
2026-12-24T00:00:00Z. The list starts there. Without it: the last 24 hours. It can go back 7 days. - status
- Optional. One status code like
429, a group like4xx, or the worderrorsfor every code from 400 up. - limit
- Optional. How many requests you want, from 1 to 200. Without it: 50.
- cursor
- Optional. The
nextCursorof the answer before. It gives the next, older part of the list. This marker is called a .
Things to know
- The list holds facts only. It never holds the body of a request, and never the data of a guest.
- A hotel key sees its own requests. It does not see the requests of another key of the same hotel.
- A company key sees all its requests. With the , it sees the requests for that one hotel only.
- Many refusals in one minute are counted, not listed. After twenty answers
429in one minute, the next ones of that minute are not in the list.
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/requests?limit=20" -H "Authorization: Bearer zsk_test_YOUR_KEY"What comes back
The status code is 200. The list is in items, the newest request first.
{
"statuscode": 200,
"message": "OK",
"data": {
"since": "2026-12-09T12:05:00.000Z",
"retentionDays": 7,
"items": [
{
"id": "5820417",
"at": "2026-12-10T12:04:31.118Z",
"method": "GET",
"route": "/sync",
"status": 200,
"errorCode": null,
"address": "203.0.113.24",
"durationMs": 41,
"requestId": "rq_mxhiep729f2c1a7e",
"propertyId": 61,
"keyId": 14
},
{
"id": "5820398",
"at": "2026-12-10T12:04:16.902Z",
"method": "PUT",
"route": "/rates",
"status": 202,
"errorCode": null,
"address": "203.0.113.24",
"durationMs": 187,
"requestId": "rq_mxhiee864be07d31",
"propertyId": 61,
"keyId": 14
},
{
"id": "5820371",
"at": "2026-12-10T12:03:58.440Z",
"method": "PUT",
"route": "/rates",
"status": 429,
"errorCode": "RATE_LIMITED",
"address": "203.0.113.24",
"durationMs": 6,
"requestId": "rq_mxhidzzcc81a5e06",
"propertyId": 61,
"keyId": 14
}
],
"more": false,
"nextCursor": null
}
}- since
- The time the list starts at.
- retentionDays
- How many days a request is kept.
- items
- The requests, one item for each.
- at
- When the request arrived.
- method, route
- What was called, like
PUTand/availability. An id in the address is shown as a name, like/batches/:batchId. - status
- The status code of the answer.
- errorCode
- The error code when the request was refused, like
VALIDATION. When it worked, it isnull. - address
- The internet address the request came from. An address you do not know can mean that someone else has your key.
- durationMs
- How long the answer took, in milliseconds.
- requestId
- The id of this request. Write it in your message when you report a problem to support.
- propertyId
- The hotel the request was for. When the request named no hotel, it is
null. - more, nextCursor
- With
more: true, there are older requests. SendnextCursorascursorto get them.
Common mistakes
- 400 VALIDATION
- A value after the question mark is wrong. The message names it. For example,
limitmust be a number from 1 to 200.
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 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.
- 403 SCOPE_MISSING
- The key does not hold the scope this request needs. The answer names it in details.needed. For example channel-bookings:read or direct-bookings:read to read bookings, or direct-bookings:cancel to cancel a website booking. The key's owner gives the scope when editing the key.
- 404 PROPERTY_NOT_FOUND
- The property id is not a hotel this key may use. Read GET /properties again. The hotel's owner may have ended your access.
- 404 PROPERTY_REQUIRED
- You hold a company key, and the request did not say which hotel. Add the header X-ZS-Property with the id of one of your hotels. The answer already lists the first 20 in details.properties (id and name), with details.total for how many there are. GET /properties lists them all.
- 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: list your recent requests
It starts with zsk_test_. It is kept in this browser tab only. Never paste a live key into a web page.
Go deeper
- Errors: Every error, why it happens and what to do.
- Keys and scopes: The kinds of key, what each may do, and how to replace one.
Words on this page
- Request
- One message your software sends to the API.
- Status code
- A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
- Company key
- The key of a software company. One key works for all the hotels of that company.
- 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.
- Cursor
- A marker that says where a long list stopped. Send it back to get the next part of the list.
- 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.
- Scope
- One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
- 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 18:26:12 UTC.