v1
latestOpenAPI 3.1.02026-07-2416666272.6 KBCustom Fields
Create custom field
Creates a custom field on a video (key-value metadata). Max 50 fields per video; keys 1-200 chars, values 1-500 chars; key unique per video. Returns the new field's id only.
post/videos/{video_id}
Path parameters
video_idstring uuid required
Unique identifier for the video
Query parameters
custom_fields'true' required
Set to 'true' to create a custom field
Request body
Example request
{
"key": "category",
"value": "Educational"
}Response
Custom field created successfully
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"video_id": "987fcdeb-51a2-4e59-a125-23379b3692b5",
"key": "category",
"value": "Educational",
"created_at": "2023-01-15T10:30:00Z",
"updated_at": "2023-01-15T10:30:00Z"
}