post
https://api-v2.pandavideo.com.br/profile?type=set-videos
Applies a profile to videos or a folder
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
POST /profile?type=set-videos
Applies a profile to a list of videos or to an entire folder. The profile ID goes in the body, not in the path.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
profile | uuid | yes | Profile ID to apply |
videos | string[] | conditional | Video IDs. Mutually exclusive with folder_id |
folder_id | uuid | conditional | Apply to all videos in this folder. Mutually exclusive with videos |
Send videos or folder_id, never both. The API rejects with 400 "Provide videos or folder_id, not both" if both are present, and also if neither is present.
📝 Async processing. Applying a profile to more than five videos is processed in the background. The request returns
{"status":"pending"}before every video has been updated; allow a few moments and re-read the videos to confirm.
Apply to specific videos
curl -X POST "https://api-v2.pandavideo.com.br/profile?type=set-videos" \
-H "Authorization: {api_key}" \
-H "Content-Type: application/json" \
-d '{
"profile": "{profile_id}",
"videos": ["{video_id_1}", "{video_id_2}"]
}'Apply to a folder
curl -X POST "https://api-v2.pandavideo.com.br/profile?type=set-videos" \
-H "Authorization: {api_key}" \
-H "Content-Type: application/json" \
-d '{
"profile": "{profile_id}",
"folder_id": "{folder_id}"
}'{ "status": "ok" }{ "status": "pending" }