List my queues (user)
Returns the paginated list of the queues the calling user is a member of,
directly, through a group, or through a pool. Same item shape and includes
as GET /queues. Sorted by name, then id.
Auth. A user bearer token only. A customer API key responds 403.
Roles. The user must hold the queue agent or the queue manager role
(see GET /me: is_queue_agent, is_queue_manager). Any other user
responds 403.
Tenancy. Only queues of the caller's own PBX are returned.
User bearer token. Default authentication for customer-facing endpoints.
Obtain a token by calling POST /login with your credentials, then send it
on every subsequent request as Authorization: Bearer <token>. The token
inherits the permissions and PBX scope of the authenticated user.
- HTTP Authorization Scheme
bearer- Bearer format
Bearer <token>
application/jsonResponses
dataarray<object>
550e8400-e29b-41d4-a716-446655440000550e8400-e29b-41d4-a716-4466554400011042550e8400-e29b-41d4-a716-446655440005550e8400-e29b-41d4-a716-446655440004Customer Supportfewest_calls least_recent round_robin ring_all random nullring_all205300 1 2 3 4 5 6 7 8 9 * # null05010en de fr nullen2024-03-01T08:29:07.000000Z2024-03-01T08:29:07.000000Zstatusesarray<object>
550e8400-e29b-41d4-a716-446655440006Availablestyleobject | null
fas fa-car#FFEEB2available unavailable busy meeting away nullavailable116membersarray<object>
550e8400-e29b-41d4-a716-446655440020AnaSampleana.sample@example.org201sources*array<string>
direct group poollinksobject
http://localhost/api/v1/resources?page=1http://localhost/api/v1/resources?page=1metaobject
111linksarray<object>
http://localhost/api/v1/resources?page=1first1http://localhost/api/v1/resources1511Authorization Token is missingerrorsobject
https://cockpit.voxbi.com/api/v1/me/queues
curl -X GET 'https://cockpit.voxbi.com/api/v1/me/queues' \
-H 'Authorization: Bearer YOUR_TOKEN'
const response = await fetch('https://cockpit.voxbi.com/api/v1/me/queues', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${YOUR_TOKEN}`,
},
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://cockpit.voxbi.com/api/v1/me/queues',
headers={'Authorization': f'Bearer {YOUR_TOKEN}'}
)
response.raise_for_status()
data = response.json()
print(data)
<?php
$context = stream_context_create([
'http' => [
'method' => 'GET',
'header' => "Content-Type: application/json\r\nAuthorization: Bearer YOUR_TOKEN",
],
]);
$response = file_get_contents('https://cockpit.voxbi.com/api/v1/me/queues', false, $context);
$data = json_decode($response, true);
print_r($data);
{ … }
"data": [ … ],
{ … }
"statuses": [ … ],
{ … }
"style": { … },
"members": [ … ]
{ … },
"sources": [ … ]
{ … }
"sources": [ … ]
"links": { … },
"meta": { … }
cockpit.voxbi.comMon, 16 Oct 2023 14:08:48 GMTcloseno-cache, privateapplication/json6059Origin{ … }
private, must-revalidatekeep-aliveapplication/jsonOrigin6057{ … }
application/json{ … }
"errors": { … }
"per_page": [ … ],
"sort": [ … ]
application/json