---
title: "Create a room user"
method: POST
path: "/room/{id}/user"
tags: ["room"]
deprecated: true
---

# Create a room user

`POST /room/{id}/user`

> **Deprecated.**

Call this endpoint to add a user to a room, specifying a display name at a minimum.
The response will contain a joining URL for Livepeer's default meeting app.
Alternatively the joining token can be used with a custom app.

## Path parameters

- `id` string, required

## Request body

- RoomUserPayload
  - `name` string, required — Display name
  - `canPublish` boolean — Whether a user is allowed to publish audio/video tracks
  - `canPublishData` boolean — Whether a user is allowed to publish data messages to the room
  - `metadata` string — User defined payload to store for the participant

## Response `201`

Success

- RoomUserResponse
  - `id` string — The ID of the user
  - `joinUrl` string — Joining URL - use this for Livepeer's default meeting app (see the multiparticipant streaming guide for more info).
  - `token` string — Joining JWT - this can be used if you have a custom meeting app (see the multiparticipant streaming guide for more info).

## Other responses

- `default` — Error

---

[API](https://skmtc.net/livepeer/apis/livepeer-api-reference.md) · [All operations](https://skmtc.net/livepeer/apis/livepeer-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/livepeer/livepeer-api-reference/revisions/0d7e15217608/schema)
