Bold VideoDocs

Analytics

Track event

POST
/api/v1/event

Authorization

api_token
AuthorizationBearer <token>

API token provided by BOLD Admin

In: header

Request Body

application/json

Legacy analytics or dedicated audience beacon

interaction_id*string

Interaction returned by the AI/search response that supplied this video.

Formatuuid
n*string
Value in"source_open" | "video_progress"
playback_id*string

Client-generated UUID for this individual open. Generate a new UUID per open; this is not a Mux asset playback ID.

Formatuuid
vid*string

Video ID or slug referenced by the source.

viewer?string

Optional existing viewer UUID or external ID. It must resolve to the viewer on the interaction; omit only for anonymous interactions.

watched_seconds?number

For video_progress: cumulative elapsed PLAYING wall-clock seconds for this open. Explicit 0 is valid; omit when there is no watch sample. Do not derive from playhead position, seeks, pauses, or citation timestamps.

Formatfloat
Range0 <= value <= 31536000

Response Body

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/event" \  -H "Content-Type: application/json" \  -d '{    "interaction_id": "fd463a24-cab4-49e4-b915-3c70a62977c3",    "n": "source_open",    "playback_id": "9b08df1c-8e62-430b-88c1-46a9438d301f",    "vid": "string"  }'
Empty
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}
{
  "code": "not_found",
  "message": "Video not found",
  "retryable": false,
  "type": "error"
}