---
title: "Live Restream"
method: POST
path: "/{live_id}/rtmp_endpoint"
---

# Live Restream

`POST /{live_id}/rtmp_endpoint`

## Request

- Base URL: `https://api-v2.pandavideo.com.br/lives`
- URL: `https://api-v2.pandavideo.com.br/lives/{live_id}/rtmp_endpoint`
- Auth: API key in header `Authorization`

Attaches a restream RTMP/RTMPS destination to a live stream. Panda pushes the same video to the provided URL — used to broadcast simultaneously to YouTube, Twitch, FB Live, etc.

## Path parameters

- `live_id` string, uuid, required

## Request body

- object
  - `rtmp_url` string, required: Destination RTMP/RTMPS URL where the live should be restreamed. Use the full URL including the stream key path/query the destination requires (e.g., YouTube, Twitch, Facebook Live).

## Response `200`

Restream destination saved.

- object
  - `status` boolean: True when the restream destination was attached successfully.

---

[API](https://skmtc.dev/pandavideo/apis/live-v2.md) - [All operations](https://skmtc.dev/pandavideo/apis/live-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/pandavideo/apis/live-v2/revisions/2ca63304ecc0?raw)
