***

title: create
slug: /reference/python/rest/video/room-tokens/create
description: Create a room token that a participant uses to connect to a video room.
max-toc-depth: 3
---------------------

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

Create a room token that a participant uses to connect to a video room. The token
encodes the room name, user identity, and granted permissions.

<EndpointSchemaSnippet endpoint="POST /api/video/room_tokens" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/video/room_tokens" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

token = client.video.room_tokens.create(
    room_name="standup",
    user_name="Alice",
    permissions=[
        "room.self.audio_mute",
        "room.self.audio_unmute",
        "room.self.video_mute",
        "room.self.video_unmute",
    ]
)
print(token["token"])  # JWT string for the client SDK
```