Create a waiting room
You can create a waiting room from the dashboard or via API.
- Within your application, go to Traffic > Waiting Room.
- Select Create.
- Customize the settings for your waiting room. For additional guidance refer to Best practices.
- Select Next.
- If you wish to customize your waiting room, update the HTML and CSS as needed. If you are using this waiting room to manage traffic for your mobile app or API, enable the JSON response toggle. Make sure that you have set up a JSON friendly response for your client (mobile or web app).
- Select the Queuing status code to determine the HTTP status code that is returned when a user is in the waiting room.
- Select Next.
- Review your settings before saving. If you customized your waiting room, make sure to preview the result.
- Select Save. Your new waiting room will be enabled by default.
To create a Waiting Room using the API, send a POST
request to the /zones/{zone_identifier}/waiting_rooms
endpoint:
- For parameter references, refer to Configuration settings
- For authentication instructions, refer to Create an API token.
- For help with endpoints and pagination, refer to Make API calls.
The response contains the complete definition of the newly created Waiting Room.