v1

latestOpenAPI 3.1.02026-08-04133.9 KB

Create session

post/sessions

Request body

model_idstring required

Model to use

persona_idstring required

Persona to use

Response

Session created

server_urlstring required

WebRTC connection URL

participant_tokenstring required

JWT for 'source' participant that passes its audio over WebRTC to persona (e.g., a voice agent)

agent_identitystring required

Identity that the persona will use in the WebRTC session

Example response

{
  "server_url": "wss://...",
  "agent_identity": "agent"
}