PATCH
/
videos
/
{VIDEO_ID}
/
gates
/
{GATE_ID}
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": true,
    "top_text": "Example text",
    "bottom_text": "Bottom text",
    "fields": [
      {
        "label": "Email",
        "value": "email"
      }
    ],
    "connect_service_id": "abcde12345abcde12345a",
    "connect_list_id": "abcde"
  },
  "links": {},
  "errors": []
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

VIDEO_ID
string
required

ID of the video

GATE_ID
string
required

ID of the gate

Body

application/json
name
string

A short label for the gate

show_at
string

The time-code the gate should appear at, as HH:MM:SS

skip
boolean

Can the user skip/hide it?

top_text
string

The main text shown on the gate

bottom_text
string

The lower text shown on the gate

fields
object[]

The fields to ask For

connect_service_id
string

The id of a service connected to your account (such as Mailchimp)

connect_list_id
string

The id of a contacts list (audience) you have within that connected service that the viewer's data will be added to

Response

200 - application/json
success
boolean
required
result
object
required
links
object
required
errors
object[]
required