---
title: Get waiting room status
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Waiting Rooms](https://developers.cloudflare.com/api/python/resources/waiting_rooms)

[Statuses](https://developers.cloudflare.com/api/python/resources/waiting_rooms/subresources/statuses)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Get waiting room status

waiting\_rooms.statuses.get(strwaiting\_room\_id, StatusGetParams\*\*kwargs) -> [StatusGetResponse](<https://developers.cloudflare.com/api/python/resources/waiting_rooms#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)>)

GET/zones/{zone\_id}/waiting\_rooms/{waiting\_room\_id}/status

Fetches the status of a configured waiting room. Response fields include:

1. `status`: String indicating the status of the waiting room. The possible status are:
   - **not\_queueing** indicates that the configured thresholds have not been met and all users are going through to the origin.
   - **queueing** indicates that the thresholds have been met and some users are held in the waiting room.
   - **event\_prequeueing** indicates that an event is active and is currently prequeueing users before it starts.
   - **suspended** indicates that the room is suspended.
2. `event_id`: String of the current event’s `id` if an event is active, otherwise an empty string.
3. `estimated_queued_users`: Integer of the estimated number of users currently waiting in the queue.
4. `estimated_total_active_users`: Integer of the estimated number of users currently active on the origin.
5. `max_estimated_time_minutes`: Integer of the maximum estimated time currently presented to the users.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`Waiting Rooms Read``Waiting Rooms Write`

##### ParametersExpand Collapse

zone\_id: str

Identifier.

maxLength32

[Link to this property](<#(resource)%20waiting_rooms.statuses%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20zone_id%20%3E%20(schema)>)

waiting\_room\_id: str

[Link to this property](<#(resource)%20waiting_rooms.statuses%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20waiting_room_id%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

class StatusGetResponse: …

</summary>

estimated\_queued\_users: Optional\[int]

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20estimated_queued_users">Link to this property</a>

estimated\_total\_active\_users: Optional\[int]

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20estimated_total_active_users">Link to this property</a>

event\_id: Optional\[str]

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20event_id">Link to this property</a>

max\_estimated\_time\_minutes: Optional\[int]

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20max_estimated_time_minutes">Link to this property</a>

<details>

<summary>

status: Optional\[Literal\["event\_prequeueing", "not\_queueing", "queueing", "suspended"]]

</summary>

One of the following:

"event\_prequeueing"

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"not\_queueing"

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"queueing"

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"suspended"

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20waiting_rooms.statuses%20%3E%20(model)%20status_get_response%20%3E%20(schema)>)

### Get waiting room status

Python

HTTPTypeScriptPythonGoTerraform

```
import os
from cloudflare import Cloudflare

client = Cloudflare(
    api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),  # This is the default and can be omitted
)
status = client.waiting_rooms.statuses.get(
    waiting_room_id="699d98642c564d2e855e9661899b7252",
    zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
print(status.event_id)
```

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "result": {
    "estimated_queued_users": 0,
    "estimated_total_active_users": 0,
    "event_id": "25756b2dfe6e378a06b033b670413757",
    "max_estimated_time_minutes": 0,
    "status": "queueing"
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "result": {
    "estimated_queued_users": 0,
    "estimated_total_active_users": 0,
    "event_id": "25756b2dfe6e378a06b033b670413757",
    "max_estimated_time_minutes": 0,
    "status": "queueing"
  },
  "success": true
}
```