post
https://api-v2.pandavideo.com.br/profile
Creates a new player profile
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
POST /profile
Creates a new player profile. Only name is required; all other fields are optional and default to Panda system values.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | Profile name, 3-255 characters |
exclusive | boolean | no | Mark as exclusive (not listed, not reusable) |
is_default | boolean | no | Set as the account default |
source_video_id | uuid | no | Seed config from an existing video instead of system defaults |
hideControlsOnStart | boolean | no | Hide controls on player load |
colors | object | no | Color config |
vsl | object | no | VSL / advanced config |
saveProgress | object | no | Resume playback config |
general | object | no | General display settings |
controls | string[] | no | Enabled player controls |
availableQualities | string[] | null | no | Allowed resolutions (e.g. ["480p","720p"]). Format: \d+p. null = no restriction |
Create from a video
Pass source_video_id to copy the player configuration from an existing video. This is how the dashboard creates a profile "from" a video.
curl -X POST "https://api-v2.pandavideo.com.br/profile" \
-H "Authorization: {api_key}" \
-H "Content-Type: application/json" \
-d '{
"name": "Launch profile",
"source_video_id": "{video_id}"
}'Create with defaults
curl -X POST "https://api-v2.pandavideo.com.br/profile" \
-H "Authorization: {api_key}" \
-H "Content-Type: application/json" \
-d '{ "name": "My profile" }'{
"id": "{profile_id}",
"name": "Launch profile"
}Errors
| Status | Cause |
|---|---|
| 400 | name missing, shorter than 3 chars, or longer than 255 |
| 400 | availableQualities item does not match \d+p (e.g. sending 720 instead of 720p) |
