A I Voice
Start a voice session about a video
Authorization
api_token AuthorizationBearer <token>
API token provided by BOLD Admin
In: header
Request Body
application/json
Voice session request
sdp*string
The browser's WebRTC SDP offer (starts with v=0)
Length
length <= 100000video_id*string
Video UUID, ID, or slug
viewer?string|null
Viewer identifier (UUID or your external ID). When the viewers feature is enabled, the viewer's traits personalize the conversation. Forward from an authenticated server session; this field does not prove entitlement. Omitted viewers share one anonymous concurrency slot per account.
viewer_profile?string|
Tell the AI about the listener, for this session only (never persisted). Requires the viewers feature.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://app.boldvideo.io/api/v1/ai/voice/sessions" \ -H "Content-Type: application/json" \ -d '{ "sdp": "v=0\r\no=- 4611731400430051336 2 IN IP4 127.0.0.1\r\n...", "video_id": "98936fa0-6826-48cc-aac1-89f42235dc8e" }'{
"idle_seconds": 60,
"max_seconds": 600,
"sdp": "string",
"session_id": "string"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "voice_allowance_exceeded",
"message": "This account has used its voice minutes for this month.",
"resets_on": "2026-10-01",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}{
"code": "not_found",
"message": "Video not found",
"retryable": false,
"type": "error"
}