---
title: "Enable a livestream"
method: PUT
path: "/livestreams/{livestream_id}/enable"
tags: ["Live streams"]
---

# Enable a livestream

`PUT /livestreams/{livestream_id}/enable`

Enables a livestream for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.

## Path parameters

- `livestream_id` string, required

## Response `200`

OK

- object
  - `success` boolean
  - `data` LivestreamBase
    - `status` 'LIVE' | 'IDLE' | 'ERRORED' | 'INVOKED' — The status of the livestream.
    - `name` string, nullable — Name of the livestream.
    - `meeting_id` string, nullable — ID of the meeting.
    - `ingest_server` string — The server URL to which the RTMP encoder sends the video and audio data.
    - `id` string — The livestream ID.
    - `stream_key` string — Unique key for accessing each livestream.
    - `playback_url` string — The web address that viewers can use to watch the livestream.
    - `created_at` string, date-time — The timestamp at which the livestream was created. The time is returned in ISO format.
    - `updated_at` string, date-time — The timestamp at which the livestream was updated. The time is returned in ISO format.
    - `disabled` boolean — Specifies if the livestream was disabled.
    - `org_id` string

---

[API](https://skmtc.net/dyte-io/apis/dyte-rest-apis.md) · [All operations](https://skmtc.net/dyte-io/apis/dyte-rest-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dyte-io/dyte-rest-apis/revisions/f62d3edd92ae/schema)
