curl --request PATCH \
--url https://api.vidbeo.com/v2/videos/{VIDEO_ID}/gates/{GATE_ID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"show_at": "<string>",
"skip": true,
"top_text": "<string>",
"bottom_text": "<string>",
"fields": [
{
"label": "Email",
"value": "email"
}
],
"connect_service_id": "<string>",
"connect_list_id": "<string>"
}'
{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"skip": false,
"top_text": "Example text",
"bottom_text": "Bottom text",
"fields": [
{
"label": "Email",
"value": "email"
}
],
"connect_service_id": "abcde12345abcde12345a",
"connect_list_id": "abcde"
},
"links": {},
"errors": []
}
Update a gate’s details
curl --request PATCH \
--url https://api.vidbeo.com/v2/videos/{VIDEO_ID}/gates/{GATE_ID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"show_at": "<string>",
"skip": true,
"top_text": "<string>",
"bottom_text": "<string>",
"fields": [
{
"label": "Email",
"value": "email"
}
],
"connect_service_id": "<string>",
"connect_list_id": "<string>"
}'
{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"skip": false,
"top_text": "Example text",
"bottom_text": "Bottom text",
"fields": [
{
"label": "Email",
"value": "email"
}
],
"connect_service_id": "abcde12345abcde12345a",
"connect_list_id": "abcde"
},
"links": {},
"errors": []
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the video
"abcde12345abcde12345a"
ID of the gate
"abcde12345abcde12345a"
Gate
The response is of type object
.