Skip to main content
POST
Create Embed V2

Authorizations

X-API-KEY
string
header
required

Cookies

la_session
string

Body

application/json
avatar_id
string<uuid>
required
context_id
string<uuid>
voice_id
string<uuid>
voice_agent_id
string<uuid>

Resolve voice / context from a stored voice_agent (the new primitive). Mutually exclusive with voice_id / context_id.

type
enum<string>
default:DEFAULT
Available options:
DEFAULT,
WIDGET
max_session_duration
integer

Max session duration in seconds

default_language
string

Default language code (e.g. 'en', 'es', 'multi')

Maximum string length: 5
is_sandbox
boolean
default:false

Whether to enable sandbox mode for sessions

orientation
enum<string>
default:horizontal

Embed orientation: horizontal (16:9) or vertical (9:16)

Available options:
horizontal,
vertical

Response

Successful Response

code
integer
default:100
data
CreateEmbedV2ResponseSchema · object | null
message
string