Skip to content
Myra Online Help Updated · 21 Aug 2026

Changing the settings of a waiting room

Note

The body must include the attributes id and modified to identify the corresponding entry.

Note

The ID of the entry in the path of the request must match the value of the attribute id in the body.

Sends a PUT request to the endpoint /waiting-room/{id}.

Description

The Change-Waiting-Room-Setting request allows the user to change the settings for a waiting room of the organisation.

Requirements

Values of the request: Waiting-Room-ID {id}

Objects: WaitingRoomVO

Request

To change the settings of a waiting room, the Waiting-Room-ID {id} needs to be added to the path of the request.

For a detailed specification of which information is required to change the settings of a waiting room, the object WaitingRoomVO with the following attributes needs to be defined in the body:

Attributes Description Values
id The ID of the entry. integer
modified The last modification date in ISO 8601 format. string($date-time)

The following attributes are optional:

Attributes Description Values
name The name of the waiting room. string
maxConcurrent The maximum number of visitors allowed to access the customer infrastructure at the same time. As soon as the value is exceeded, each additional visitor is directed to the waiting room. integer
sessionTimeout The duration in seconds for which an inactive session can access the customer infrastructure. If the session is not accessed again within this time, access for the session is disabled. integer
waitRefresh The duration in seconds after which the waiting page is reloaded. If the session is not accessed again after the third reload, it is removed from the queue. integer
paths A path within the apex domain or subdomain to which the waiting room is to apply. The path must be defined as a regular expression. The default value in the PATH field is .. If the default value . is used as the path, the waiting pages and settings of all waiting rooms with a path of the corresponding apex domain or subdomain are overwritten. string
subDomainName The name of the subdomain for which the waiting room is available. string
vhostId The ID of the subdomains for which the waiting room is available. integer
content The HTML-Code for the waiting room template. string

The system returns the object WaitingRoomVO with the changed information.

Waiting room content

For each waiting room created via the waiting room function, a waiting page is saved. Initially, a default template is available for selection. You can also upload your own waiting page as a *.htm or *.html file. Placeholders ensure that the waiting page correctly shows all required information about the waiting room. A table with the most important placeholders is shown below:

Variable name Description
!WAIT_REFRESH! Defines the number of seconds between page refreshes. This variable must be included as an http-equiv=refresh meta tag in the HTML head, so that the page reloads automatically and gives visitors feedback about their current position in the queue.
!CURRENT_POSITION! Shows the visitor’s position in the queue.
!SUBDOMAIN! Shows the host name without the protocol and path.
!QUEUE_SIZE! Shows the total number of visitors in the queue.
!QUEUE_PROGRESS! Shows the number of visitors behind the current person. Can be used to give visual feedback about the progress in the queue, for example via a progress bar.

Example template

<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="refresh" content="!WAIT_REFRESH!" />
<title>!SUBDOMAIN! Waiting Room</title>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
font-optical-sizing: auto;
font-style: normal;
min-height: 100vh;
margin: 0;
}
.background {
background: linear-gradient(
133.66deg,
#7dff54 -13.21%,
#54ddc2 38.6%,
#003bcc 97.97%
);
display: flex;
justify-content: center;
align-items: center;
}
.card {
background-color: #ffffff;
width: clamp(400px, 60%, 800px);
}
.card-content {
padding: min(4vw, 40px);
}
.progress-bar {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: none;
display: flex;
color: #003bcc;
width: 100%;
height: 8px;
}

Example

Example request body:

{
  "name": "string",
  "maxConcurrent": 0,
  "sessionTimeout": 0,
  "waitRefresh": 0,
  "paths": "string",
  "subDomainName": "string",
  "vhostId": 0,
  "content": "string"
}

Responses

The following responses are available:

STATUS CODE DESCRIPTION
200 The request has succeeded.
400 The request was unsuccessful. The request was invalid or information is missing.
401 The request has not succeeded because the user authentication was incorrect.
403 The request has not succeeded because the user does not have the right permissions.