---
title: "Start room RTMP egress"
method: POST
path: "/room/{id}/egress"
tags: ["room"]
deprecated: true
---

# Start room RTMP egress

`POST /room/{id}/egress`

> **Deprecated.**

Create a livestream for your room.
This allows you to leverage livestreaming features like recording and HLS output.

## Path parameters

- `id` string, required

## Request body

- RoomEgressPayload
  - `streamId` string, required — The ID of the Livepeer Stream to stream to

## Response `204`

Success

## Other responses

- `default` — Error

## Changes

- **2024-04-23** `d0909f9b9414` — 3 info
  - api operation id `startRoomEgress` was added
  - api tag `room` added
  - endpoint deprecated

[Change history](https://skmtc.dev/livepeer/apis/livepeer-api-reference/changes/room/:id/egress/post.md)

---

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