post
https://api-v2.pandavideo.com.br/videos/?copy
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
POST /videos/{video_id}?copy
{video_id}?copyDuplicates an existing video. The new video is created with a "DRAFT" status and receives a new unique ID. The title is automatically appended with " - Copy" and the description contains a reference to the original video ID.
AuthorizationInclude your API key in the
Authorizationheader of every request. You can generate or retrieve your API key from the PandaVideo dashboard.
HTTP Method & Path
POST /videos/{video_id}?copy
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
- Security Scheme:
PandaAuth(apiKey) - Header:
Authorization: <your_api_token>(no Bearer prefix)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | Yes | Panda API token |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
video_id | string (uuid) | Yes | The unique identifier of the video to duplicate |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
copy | (no value) | Yes | Presence of this parameter triggers the duplication. No value needed. |
Request Body
This endpoint does not require a request body. The duplication is triggered by the ?copy query parameter.
Response
Success Response (200)
Returns the newly created (duplicated) video object:
{
"id": "0d509ca0-8638-4f49-aee9-d6cd50baca0c",
"title": "1457723412665616_hr8665.mp4 - Copy",
"description": "copy-panda-9cc0ef69-7e7e-4c93-be56-2e69ed58f65e",
"video_external_id": "cf1c5323-c722-4ef3-915a-cc13664acfb3",
"user_id": "89552df0-cae4-489a-bea1-7f4f604c2142",
"library_id": "09e4c4ad-d0f4-4186-aaeb-4db41b75bcf8",
"folder_id": null,
"status": "DRAFT",
"config": {},
"converted_at": null,
"metadata": {},
"backup_source": "aws",
"m3u8_source": "aws",
"updated_at": "2026-04-29T14:23:39.000Z",
"created_at": "2026-04-29T14:23:39.000Z",
"live_id": null,
"video_external_source_id": null
}Response Schema
| Field | Type | Description |
|---|---|---|
id | string (uuid) | ID of the duplicated video (new) |
title | string | Title with " - Copy" suffix |
description | string | Reference to the original video |
video_external_id | string (uuid) | External ID |
user_id | string (uuid) | Owner ID |
library_id | string (uuid) | Library ID |
folder_id | string | null | Folder ID |
status | string | Video status. Ex: "DRAFT" |
config | object | Video configuration |
converted_at | string | null | Conversion date |
metadata | object | Technical metadata (resolution, codec, bitrate, etc.) |
backup_source | string | Backup source. Ex: "aws" |
m3u8_source | string | HLS source. Ex: "aws" |
updated_at | string (ISO 8601) | Update date |
created_at | string (ISO 8601) | Creation date |
live_id | string | null | Associated live ID |
video_external_source_id | string | null | External source ID |
Error Responses
- 401 Unauthorized — Missing or invalid API key
- 403 Forbidden — Insufficient permissions to duplicate this video
- 404 Not Found — Video with the specified ID does not exist
- 500 Internal Server Error — Unexpected server error
Example Usage
cURL
curl --request POST \
--url 'https://api-v2.pandavideo.com.br/videos/{video_id}?copy' \
--header 'Authorization: YOUR_API_KEY'