Finish live

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

POST /lives/{live_id}/finish

Ends the broadcast of a live.

📘

Authorization

Requires a valid Panda API token sent in the Authorization header (no Bearer prefix).

⚠️

The status does not go straight to finished: it passes through finishing. If you show the state of the live on screen, you need to handle that intermediate status. The endpoint accepts a live in online and also in finishing, 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 SchemeHeaderNote
API KeyAuthorizationPanda API token (without Bearer prefix)

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda API token (without Bearer prefix)

Path Parameters

FieldTypeRequiredDescription
live_idstring (uuid)YesID 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

StatusWhen
finishingRight after the call — the end was requested and is being finalized.
finishedThe broadcast has ended.
finished_importedThe recording became a video. Only when the live was created with save_vod.
📘

No recording, no video. A live created with save_vod: false leaves no recording, so it never reaches finished_imported and 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}"
Path Params
string
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json