curl --request PATCH \
--url https://api.vidbeo.com/v2/videos/{VIDEO_ID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Example",
"input": "vidbeo://uploads/abcde12345abcdee12345a",
"description": "Example description",
"privacy": "private",
"password": "Example123",
"spherical": false,
"projection": "equirectangular",
"language": "en-US",
"tags": [
"example"
]
}
'{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"type": "vod",
"name": "Example",
"description": "Example description",
"outputs": [
{
"label": "hls",
"url": "https://example.com/path/to/file.m3u8"
}
],
"thumbnail": "https://example.com/path/to/file.jpg",
"sprite": "https://example.com/path/to/file.jpg",
"duration": 30,
"privacy": "private",
"tracks": [
{
"id": "abcde12345abcde12345a",
"language": "en-US",
"label": "English",
"kind": "subtitles",
"url": "<string>"
}
],
"categories": [
"example"
],
"enabled": true,
"transcoder": "abcde12345abcde12345a",
"content_rating": "all",
"spherical": false,
"projection": "equirectangular",
"language": "en-US",
"cards": [
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"hide_at": "00:00:05",
"skip": false,
"top_text": "Example text",
"bottom_text": "Example text",
"link": "https://example.com"
}
],
"gates": [
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"skip": false,
"top_text": "Example text",
"bottom_text": "Example text",
"fields": [
{
"label": "Email",
"value": "email"
}
],
"connect_service_id": "abcde12345abcde12345a",
"connect_list_id": "abcde"
}
],
"hotspots": [
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"hide_at": "00:00:05",
"x": 25,
"y": 25,
"action": "link",
"link": "https://example.com",
"target": "_parent",
"opacity": "translucent"
}
],
"chapters": [
{
"id": "abcde12345abcde12345a",
"name": "Example",
"start": "00:00:05"
}
],
"page_url": "https://example.com/page",
"progress": 100,
"status": "ready",
"tags": [
"example"
],
"scheduled_time": "2024-01-01T00:00:00.000Z",
"clip": false,
"clip_from": "abcde12345abcde12345a",
"clip_start": "00:00:30",
"clip_end": "00:01:30",
"created_by": "abcde12345abcde12345a",
"created_time": "2024-01-01T00:00:00.000Z",
"updated_by": "abcde12345abcde12345a",
"updated_time": "2024-01-01T00:00:00.000Z"
},
"links": {},
"errors": []
}Update a video’s details
curl --request PATCH \
--url https://api.vidbeo.com/v2/videos/{VIDEO_ID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Example",
"input": "vidbeo://uploads/abcde12345abcdee12345a",
"description": "Example description",
"privacy": "private",
"password": "Example123",
"spherical": false,
"projection": "equirectangular",
"language": "en-US",
"tags": [
"example"
]
}
'{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"type": "vod",
"name": "Example",
"description": "Example description",
"outputs": [
{
"label": "hls",
"url": "https://example.com/path/to/file.m3u8"
}
],
"thumbnail": "https://example.com/path/to/file.jpg",
"sprite": "https://example.com/path/to/file.jpg",
"duration": 30,
"privacy": "private",
"tracks": [
{
"id": "abcde12345abcde12345a",
"language": "en-US",
"label": "English",
"kind": "subtitles",
"url": "<string>"
}
],
"categories": [
"example"
],
"enabled": true,
"transcoder": "abcde12345abcde12345a",
"content_rating": "all",
"spherical": false,
"projection": "equirectangular",
"language": "en-US",
"cards": [
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"hide_at": "00:00:05",
"skip": false,
"top_text": "Example text",
"bottom_text": "Example text",
"link": "https://example.com"
}
],
"gates": [
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"skip": false,
"top_text": "Example text",
"bottom_text": "Example text",
"fields": [
{
"label": "Email",
"value": "email"
}
],
"connect_service_id": "abcde12345abcde12345a",
"connect_list_id": "abcde"
}
],
"hotspots": [
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"hide_at": "00:00:05",
"x": 25,
"y": 25,
"action": "link",
"link": "https://example.com",
"target": "_parent",
"opacity": "translucent"
}
],
"chapters": [
{
"id": "abcde12345abcde12345a",
"name": "Example",
"start": "00:00:05"
}
],
"page_url": "https://example.com/page",
"progress": 100,
"status": "ready",
"tags": [
"example"
],
"scheduled_time": "2024-01-01T00:00:00.000Z",
"clip": false,
"clip_from": "abcde12345abcde12345a",
"clip_start": "00:00:30",
"clip_end": "00:01:30",
"created_by": "abcde12345abcde12345a",
"created_time": "2024-01-01T00:00:00.000Z",
"updated_by": "abcde12345abcde12345a",
"updated_time": "2024-01-01T00:00:00.000Z"
},
"links": {},
"errors": []
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the video
"abcde12345abcde12345a"
The title of the video
1 - 100"Example"
Either a full URL we can fetch the video file from, or a reference to a previously completed upload
"vidbeo://uploads/abcde12345abcdee12345a"
A short description for the video
200"Example description"
If authenticated, the viewer will need to provide either a cookie or JWT when requesting a landing page, embed code or HLS manifest URL
public, private, password, authenticated "private"
If you set the value of privacy as password you will need to send that password. This value should be at least 8 characters. It should contain at least one letter and at least one number
8 - 20"Example123"
Is the video in 360?
false
For 360 videos we currently support equirectangular
equirectangular "equirectangular"
The audio language
de-DE, en-AU, en-GB, en-US, es-ES, fr-FR, it-IT "en-US"
An array of up to ten tags
10["example"]Video
true
Show child attributes
21"abcde12345abcde12345a"
vod, stream, event "vod"
1 - 100"Example"
200"Example description"
"https://example.com/path/to/file.jpg"
"https://example.com/path/to/file.jpg"
30
public, private, password, authenticated "private"
Show child attributes
21"abcde12345abcde12345a"
de-DE, en-AU, en-GB, en-US, es-ES, fr-FR, it-IT "en-US"
1 - 200"English"
subtitles, captions "subtitles"
1 - 200["example"]true
21"abcde12345abcde12345a"
all, mature "all"
false
equirectangular "equirectangular"
de-DE, en-AU, en-GB, en-US, es-ES, fr-FR, it-IT "en-US"
Show child attributes
21"abcde12345abcde12345a"
1 - 200"Example"
"00:00:05"
"00:00:05"
false
"Example text"
"Bottom text"
"https://example.com"
[
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"hide_at": "00:00:05",
"skip": false,
"top_text": "Example text",
"bottom_text": "Example text",
"link": "https://example.com"
}
]Show child attributes
21"abcde12345abcde12345a"
1 - 200"Example"
"00:00:05"
false
"Example text"
"Bottom text"
21"abcde12345abcde12345a"
1 - 100"abcde"
[
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"skip": false,
"top_text": "Example text",
"bottom_text": "Example text",
"fields": [{ "label": "Email", "value": "email" }],
"connect_service_id": "abcde12345abcde12345a",
"connect_list_id": "abcde"
}
]Show child attributes
21"abcde12345abcde12345a"
1 - 200"Example"
"00:00:05"
"00:00:05"
25
25
link "link"
"https://example.com"
_parent, _blank "_parent"
opaque, translucent, invisible "translucent"
[
{
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"hide_at": "00:00:05",
"x": 25,
"y": 25,
"action": "link",
"link": "https://example.com",
"target": "_parent",
"opacity": "translucent"
}
][
{
"id": "abcde12345abcde12345a",
"name": "Example",
"start": "00:00:05"
}
]"https://example.com/page"
100
uploading, preparing, processing, ready, error, live, offline "ready"
10["example"]"2024-01-01T00:00:00.000Z"
false
21"abcde12345abcde12345a"
"00:00:30"
"00:01:30"
21"abcde12345abcde12345a"
"2024-01-01T00:00:00.000Z"
21"abcde12345abcde12345a"
"2024-01-01T00:00:00.000Z"
{}[]