Create new profile

Creates a new player profile

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

POST /profile

Creates a new player profile. Only name is required; all other fields are optional and default to Panda system values.

Request body

FieldTypeRequiredDescription
namestringyesProfile name, 3-255 characters
exclusivebooleannoMark as exclusive (not listed, not reusable)
is_defaultbooleannoSet as the account default
source_video_iduuidnoSeed config from an existing video instead of system defaults
hideControlsOnStartbooleannoHide controls on player load
colorsobjectnoColor config
vslobjectnoVSL / advanced config
saveProgressobjectnoResume playback config
generalobjectnoGeneral display settings
controlsstring[]noEnabled player controls
availableQualitiesstring[] | nullnoAllowed 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

StatusCause
400name missing, shorter than 3 chars, or longer than 255
400availableQualities item does not match \d+p (e.g. sending 720 instead of 720p)
Body Params
string
required
length between 3 and 255

Profile name (3-255 characters)

boolean
boolean
uuid

Seed config from this video instead of system defaults

boolean
colors
object

Color configuration for the video player

vsl
object

Video Sales Letter and advanced player configuration

saveProgress
object

Configuration for save progress functionality

general
object
controls
array of strings
controls
availableQualities
array of strings | null
availableQualities
Responses

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