***

title: queue_enter
slug: /reference/python/relay/call/queue-enter
description: Place a call into a named queue.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[queue-leave]: /docs/server-sdks/reference/python/relay/call/queue-leave

[calling-call-queue]: /docs/server-sdks/reference/python/relay/call#events

[call-events]: /docs/server-sdks/reference/python/relay/call#events

Place the call into a named queue. The caller waits in the queue until they are
dequeued by another operation (such as an agent picking up) or removed via
[`queue_leave()`][queue-leave].

<Info>
  This method emits [`calling.call.queue`][calling-call-queue] events. See [Call Events][call-events] for payload details.
</Info>

## **Parameters**

<ParamField path="queue_name" type="str" required={true} toc={true}>
  Name of the queue to enter.
</ParamField>

<ParamField path="control_id" type="Optional[str]" toc={true}>
  Custom control ID. Auto-generated if not provided.
</ParamField>

<ParamField path="status_url" type="Optional[str]" toc={true}>
  URL to receive queue status webhooks (position updates, dequeue events).
</ParamField>

## **Returns**

`dict` -- Server response confirming the call entered the queue.

## **Example**

```python {16}
from signalwire.relay import RelayClient

client = RelayClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
    contexts=["default"],
)

@client.on_call
async def handle_call(call):
    await call.answer()
    await call.play([{"type": "tts", "text": "You are being placed in the support queue."}])

    # Enter the queue
    await call.queue_enter(
        queue_name="support",
        status_url="https://example.com/queue-status",
    )

    # The call stays in the queue until an agent dequeues it

client.run()
```