post
https://api-v2.pandavideo.com.br/lives//finish
Ends the broadcast of a live. The status does not go straight to finished: it passes through finishing, and the endpoint accepts a live in online and in finishing.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
POST /lives/{live_id}/finish
{live_id}/finishEnds the broadcast of a live.
AuthorizationRequires a valid Panda API token sent in the
Authorizationheader (no Bearer prefix).
The status does not go straight tofinished: it passes throughfinishing. If you show the state of the live on screen, you need to handle that intermediate status. The endpoint accepts a live inonlineand also infinishing, so you can repeat the call without getting an error.
HTTP Method & Path
POST /lives/{live_id}/finish
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
| Security Scheme | Header | Note |
|---|---|---|
| API Key | Authorization | Panda API token (without Bearer prefix) |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | Yes | Panda API token (without Bearer prefix) |
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
live_id | string (uuid) | Yes | ID of the live to finish. You get it when creating the live, or from List lives. |
Request Body
None.
Response
Success Response (200)
{ "status": true }Status after finishing
| Status | When |
|---|---|
finishing | Right after the call — the end was requested and is being finalized. |
finished | The broadcast has ended. |
finished_imported | The recording became a video. Only when the live was created with save_vod. |
No recording, no video. A live created withsave_vod: falseleaves no recording, so it never reachesfinished_importedand there is nothing to recover afterwards.
Error Responses
// the live is not online
{ "errCode": "BadRequest", "errMsg": "live needs to be online" }- 401 Unauthorized — missing or invalid API token.
- 404 Not Found — live not found.
Example Usage
cURL
curl -X POST "https://api-v2.pandavideo.com.br/lives/{live_id}/finish" \
-H "Authorization: {api_key}"