Update an interaction

Update an existing API-created annotation. Supports visible interaction annotations and timed action annotations created by POST /interactions/create. This uses the annotation ID returned by create.

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

The annotation ID for the interaction.

Query Params
string
enum

Annotation type. Visible types require layout and click action fields. Timed action types use their type-specific fields. Supported values: button, image, text, hotspot, redirect, jump, switch, pause, resourceTray, variable, reset_viewer, reset_interactions.

float

When the interaction should appear on the screen

float

When a visible interaction should leave the screen. Optional for timed action annotations.

float

Visible interaction layout percentage persisted to pos_top. Required for button, image, text, and hotspot creates.

float

Visible interaction layout percentage persisted to pos_left. Required for button, image, text, and hotspot creates.

float

Visible interaction layout percentage persisted to pos_height. Required for button, image, text, and hotspot creates.

float

Visible interaction layout percentage persisted to pos_width. Required for button, image, text, and hotspot creates.

string
enum

Visible interaction click action. Required for button, image, text, and hotspot creates. Supported values: track, link, jump, video, back, message, view, genie, openai, clip, audio, email, phone, modal, collect, download, resourceTray, none. Timed action annotations choose the matching action automatically.

string

Action value. For redirect this can be the URL; for jump this can be the target timestamp; for switch this can be Video Title ---TOKEN.

string

A button text, text content, image source URL, or empty for hotspot

string

Tooltip text shown when hovering over the interaction.

integer

Pause duration in seconds for type=pause or visible interactions that pause on click. Use -1 to pause until the viewer resumes.

boolean
string

Visible interaction text color. Defaults to the video design when omitted.

string

Visible interaction background color. Defaults to the video design when omitted.

string

Visible interaction border color. Defaults to the video design when omitted.

string

Visible interaction border radius. Defaults to the video design when omitted.

string

Visible interaction font size persisted to font_size.

string

Redirect destination URL for type=redirect. Alias for click_value on redirect annotations.

float

Target timestamp in seconds for type=jump. Alias for click_value on jump annotations.

string

Target video ID for type=switch. The API stores it as Video Title ---TOKEN in click_value.

string

Target video token for type=switch. The API stores it as Video Title ---TOKEN in click_value.

float

Start time in the target video for type=switch.

integer

Pause duration in seconds for type=pause. Use -1 to pause until the viewer resumes. Alias for pause_amount.

string

Variable name for type=variable.

string

Variable value for type=variable.

Responses

401

Not Authorized

404

Not Found

500

Error

503

Rate Limit Exceeded

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