Skip to main content
This walks through starting a web voice session end to end. You’ll need a workspace API key and a login session (see Authentication).
1

Verify your workspace

2

List published agents

Pick an id from the returned catalog.
3

Create a session

Session creation is authenticated with a bearer login session, not an API key.
The session runs the agent’s saved config. The response includes participant_token, room_name, and livekit_url.
4

Connect the participant

Use the returned values to connect a voice client in the browser. The agent joins the room automatically.
5

Read results

Fetch session state any time:
Or subscribe to webhooks for transcript and cost.
Prompt placeholders like {{company}} are filled from custom_variables at dispatch time. {{callee_name}} is built in: it also comes from the call’s callee name, and is spoken in Title Case.