Queue V4
Get queue by ID
Retrieve a specific queue with all its relations
GET
/
v4
/
queue
/
{queueId}
Get queue by ID
curl --request GET \
--url https://api.meetergo.com/v4/queue/{queueId} \
--header 'x-meetergo-api-user-id: <api-key>'import requests
url = "https://api.meetergo.com/v4/queue/{queueId}"
headers = {"x-meetergo-api-user-id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-meetergo-api-user-id': '<api-key>'}};
fetch('https://api.meetergo.com/v4/queue/{queueId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meetergo.com/v4/queue/{queueId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-meetergo-api-user-id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.meetergo.com/v4/queue/{queueId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-meetergo-api-user-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.meetergo.com/v4/queue/{queueId}")
.header("x-meetergo-api-user-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetergo.com/v4/queue/{queueId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-meetergo-api-user-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"type": "simpleRoundRobin",
"meetingTypeId": "<string>",
"companyId": "<string>",
"userCapacities": [
{
"userId": "<string>",
"capacity": 123
}
],
"userCustomLinks": [
{
"userId": "<string>",
"link": "<string>"
}
],
"roundRobinEntries": [
{
"id": 123,
"createdAt": "<string>",
"userId": "<string>",
"groupId": "<string>",
"appointmentId": "<string>",
"queueId": "<string>",
"selectionReason": "<string>"
}
],
"userGroups": [
{
"id": "<string>",
"users": [
{
"id": "<string>",
"givenName": "<string>",
"familyName": "<string>",
"slug": "<string>",
"userType": "<string>",
"picture": "<string>"
}
],
"userIds": [
"<string>"
]
}
],
"userGroupIds": [
"<string>"
],
"users": [
{
"id": "<string>",
"givenName": "<string>",
"familyName": "<string>",
"slug": "<string>",
"userType": "<string>",
"picture": "<string>"
}
],
"userIds": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"workspaceId": "<string>"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}Authorizations
ApiUserHeaderJWTApiKey
Response
Queue retrieved successfully
⌘I
Get queue by ID
curl --request GET \
--url https://api.meetergo.com/v4/queue/{queueId} \
--header 'x-meetergo-api-user-id: <api-key>'import requests
url = "https://api.meetergo.com/v4/queue/{queueId}"
headers = {"x-meetergo-api-user-id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-meetergo-api-user-id': '<api-key>'}};
fetch('https://api.meetergo.com/v4/queue/{queueId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meetergo.com/v4/queue/{queueId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-meetergo-api-user-id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.meetergo.com/v4/queue/{queueId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-meetergo-api-user-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.meetergo.com/v4/queue/{queueId}")
.header("x-meetergo-api-user-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetergo.com/v4/queue/{queueId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-meetergo-api-user-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"type": "simpleRoundRobin",
"meetingTypeId": "<string>",
"companyId": "<string>",
"userCapacities": [
{
"userId": "<string>",
"capacity": 123
}
],
"userCustomLinks": [
{
"userId": "<string>",
"link": "<string>"
}
],
"roundRobinEntries": [
{
"id": 123,
"createdAt": "<string>",
"userId": "<string>",
"groupId": "<string>",
"appointmentId": "<string>",
"queueId": "<string>",
"selectionReason": "<string>"
}
],
"userGroups": [
{
"id": "<string>",
"users": [
{
"id": "<string>",
"givenName": "<string>",
"familyName": "<string>",
"slug": "<string>",
"userType": "<string>",
"picture": "<string>"
}
],
"userIds": [
"<string>"
]
}
],
"userGroupIds": [
"<string>"
],
"users": [
{
"id": "<string>",
"givenName": "<string>",
"familyName": "<string>",
"slug": "<string>",
"userType": "<string>",
"picture": "<string>"
}
],
"userIds": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"workspaceId": "<string>"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}{
"statusCode": 400,
"message": [
"limit must not be greater than 100"
],
"error": "BadRequestException"
}