Create live

Creates a new live stream (Live V2/IVS) and returns the ingest endpoints (RTMP/IVS), the HLS player, and the IDs required to start broadcasting from an encoder.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

POST /lives

Creates a new live stream (Live V2 / IVS) and returns the live object with the ingest endpoints (RTMP/IVS), the HLS player URL, and the IDs required to start broadcasting from an encoder (OBS, etc.).

📘

Authorization

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

HTTP Method & Path

POST /lives

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)

Request Body

Content-Type: application/json

Body Parameters

FieldTypeRequiredDescriptionConstraints
titlestringYesDefault title of the live stream — shown in the live preview and used as the name of the recorded video stored in the Panda platform.min 3 chars
stream_key_idstring (uuid)NoID of the stream key to attach to this live. Retrieve available keys with GET /live_stream_key. If omitted, the account's default key is used.uuid
scheduled_atstringNoSchedules the live for a specific date and time (ISO 8601).ISO 8601 (e.g. 2026-06-01T15:00:00Z)
bitratearray of stringsNoVideo qualities to enable, for adaptive playback depending on the viewer's connection.each item one of: 240p, 360p, 480p, 720p
latency_typestringNoLatency profile of the live stream.enum: low (5–7s), default (15–20s), high (60–70s)
active_dvrbooleanNoEnables DVR functionality so viewers can rewind during the broadcast. When disabled, the stream stays strictly in real-time.
folder_idstring (uuid)NoFolder where the recorded video will be stored once the live ends. Useful for organization inside the Panda platform.uuid
{
  "title": "My live stream",
  "stream_key_id": "11111111-2222-3333-4444-555555555555",
  "scheduled_at": "2026-06-01T15:00:00Z",
  "bitrate": ["360p", "720p"],
  "latency_type": "low",
  "active_dvr": true,
  "folder_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
⚠️

Heads up: the field is scheduled_at (not scheduled_time) and the stream key reference is stream_key_id (the ID, not the key value). latency_type is a single string from the enum, not an array.

Response

Success Response (200)

Returns the created live object:

{
  "id": "live-uuid",
  "title": "My live stream",
  "status": "offline",
  "stream_key_id": "11111111-2222-3333-4444-555555555555",
  "stream_key": "sk_live_xxxxx",
  "rtmp": "rtmps://...ivs.us-east-1.amazonaws.com/app/",
  "live_hls": "https://.../live.m3u8",
  "live_player": "https://player.pandavideo.com.br/embed/?v=live-uuid",
  "scheduled_at": "2026-06-01T15:00:00Z",
  "started_at": null,
  "ended_at": null,
  "vod_id": null,
  "bitrate": ["360p", "720p"],
  "active_dvr": true,
  "latency_type": "low",
  "folder_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "ivs_ingest_endpoint": "rtmps://...ivs.amazonaws.com:443/app/",
  "ivs_playback_url": "https://...playback...",
  "relay_ingest_endpoint": "rtmp://relay.pandavideo.com.br/...",
  "created_at": "2026-05-28T00:00:00.000Z"
}

Response Schema

FieldTypeDescription
idstring (uuid)Unique identifier of the created live.
titlestringTitle of the live stream.
statusstringCurrent status. Enum: offline, online, canceled, finished, finished_imported.
stream_key_idstring (uuid)Stream key attached to this live.
stream_keystringStream key value used by the encoder (OBS) in the RTMP URL.
rtmpstringPrimary RTMP/RTMPS ingest endpoint.
live_hlsstringHLS playback URL.
live_playerstringEmbeddable player URL for the live.
scheduled_atstring | nullScheduled start (ISO 8601), if any.
started_atstring | nullActual start timestamp (set when the stream begins).
ended_atstring | nullEnd timestamp.
vod_idstring | nullID of the recorded VOD generated after the live ends.
bitratearray of stringsEnabled video qualities.
active_dvrbooleanWhether DVR is enabled.
latency_typestringLatency profile (low / default / high).
folder_idstring (uuid) | nullDestination folder for the VOD.
ivs_ingest_endpointstringIVS ingest endpoint.
ivs_playback_urlstringIVS playback URL.
relay_ingest_endpointstringRelay RTMP ingest endpoint (fallback/restream).
created_atstringISO 8601 creation timestamp.

Error Responses

  • 400 Bad Request — Invalid body or missing required fields (e.g., title shorter than 3 chars).
  • 401 Unauthorized — Missing or invalid API token.
  • 404 Not Found — Provided stream_key_id does not exist or does not belong to the authenticated user.
  • 500 Internal Server Error — Server-side error.

Example Usage

cURL

curl -X POST \
  'https://api-v2.pandavideo.com.br/lives' \
  -H 'Authorization: your_api_token_here' \
  -H 'Content-Type: application/json' \
  -d '{
  "title": "My live stream",
  "stream_key_id": "11111111-2222-3333-4444-555555555555",
  "scheduled_at": "2026-06-01T15:00:00Z",
  "bitrate": ["360p", "720p"],
  "latency_type": "low",
  "active_dvr": true
}'
Body Params
string
required
length ≥ 3

Default title of the live stream - shown in the live preview and used as the name of the recorded video.

uuid

ID of the stream key to attach to this live. Retrieve available keys with GET /live_stream_key.

date-time

Schedules the live for a specific date and time (ISO 8601).

bitrate
array of strings

Video qualities to enable for adaptive playback.

bitrate
Allowed:
string
enum

Latency profile of the live stream. low (5-7s), default (15-20s), high (60-70s).

Allowed:
boolean

Enables DVR so viewers can rewind during the broadcast.

uuid

Folder where the recorded video will be stored after the live ends.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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