API Reference

Recover video

POST /videos/recover

Detailed Description

This endpoint allows you to restore videos that were moved to the trash through the https://pandavideo.readme.io/reference/delete-video endpoint.

When a video is deleted, it is not immediately removed from the platform — its status changes to "DELETING", and it remains available for recovery for up to 30 days. During this period, you can use this endpoint to restore the video to its active state.

After 30 days, the video is permanently deleted from the platform and can no longer be accessed or recovered.

HTTP Method & Path

POST /videos/recover

Base URL: https://api-v2.pandavideo.com.br

Authentication Requirements

  • Header: Authorization: <your_api_token>

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesAPI token for authentication.

Request Body

Content-Type: application/json

NameTypeRequiredDescription
video_idarray of stringYesList of trashed video IDs to restore.

Example Request Body

[
  {
    "video_id": "dfb633cf-9ec9-496d-b440-d71e0b5c1d4c""
  },
  {
    "video_id": "7aa40713-b39c-44ce-8483-9e27781eb2b5"
  }
]
Language
Credentials
Header
Click Try It! to start a request and see the response here!