Retrieve the queue
Retrieves the current walk-in queue for a center, showing all waiting guests and their estimated wait times.
Before you begin
- You need a valid API key or access token. See Set up API authentication.
Permission: Manage API Keys (under Administrator) — Required to access Zenoti APIs.
Endpoint
GET /v1/queue
Base URL: https://api.zenoti.com
Request
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | bearer {{access_token}} |
Query parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| CenterId | string (GUID) | Yes | — | Center identifier |
| GuestId | string (GUID) | No | — | Filter by specific guest |
Response
Success (200 OK)
{
"queue": [
{
"order": 1,
"preferred_time": "2026-03-15T10:00:00",
"wait_time_in_min": 15,
"appointment": {
"status": "Queued",
"start_time_in_center": "2026-03-15T10:15:00"
}
}
],
"error": null
}
Response fields
| Field | Type | Description |
|---|---|---|
| queue | array | Queue entries |
| queue[].order | integer | Position in queue |
| queue[].wait_time_in_min | integer | Estimated wait in minutes |
| queue[].appointment | object | Appointment details |
Example
curl --request GET \
--url 'https://api.zenoti.com/v1/queue?CenterId=a3614939-16c0-4a7b-bc33-a69b106d855c' \
--header 'Authorization: bearer {{access_token}}'
const response = await fetch('https://api.zenoti.com/v1/queue', {
method: 'GET',
headers: {
'Authorization': 'bearer {{access_token}}'
},
});
const data = await response.json();
import requests
response = requests.get(
'https://api.zenoti.com/v1/queue',
headers={
'Authorization': 'bearer {{access_token}}',
},
)
data = response.json()
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "bearer {{access_token}}");
var response = await client.GetAsync(
"https://api.zenoti.com/v1/queue");
var data = await response.Content.ReadAsStringAsync();
require 'net/http'
require 'json'
uri = URI('https://api.zenoti.com/v1/queue')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Authorization'] = 'bearer {{access_token}}'
response = http.request(request)
data = JSON.parse(response.body)
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.zenoti.com/v1/queue');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: bearer {{access_token}}'
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
Error codes
| Status | Description |
|---|---|
| 401 | Unauthorized — invalid or expired access token |
| 429 | Too many requests — rate limit exceeded (60/min) |
| QA014 | Invalid center ID |