Overview
In about 5 minutes you will have a working voice agent and an active call session. Customise the personality, voice, and language after — no rebuilding needed. You will:- Create an agent (defaults handle everything else)
- Start a web call with
POST /v1/calls/web
Prerequisites
| Item | Where |
|---|---|
| OneInbox API key | Dashboard → API Keys → Create API key |
| Terminal | curl (Mac Terminal, Windows PowerShell, or WSL) |
Step 1 — Create an agent
One API call. Give it a name — OneInbox automatically configures a default LLM, a default voice, and a default system prompt. The agent is ready to take calls immediately. You can also pass your own config (voice, language, first message, etc.) directly in this call — all fields exceptname are optional. See the Agents guide for the full config options.
id— the agent (voice, language, call behavior)llm_id— the AI brain (what it knows and can do). They’re separate so multiple agents can share one brain.
Step 2 — Start a web call
server_url and participant_token to connect to the live session — never your API key. The token is short-lived and scoped to this call session.
Step 3 — Customise your agent
Your agent works immediately with defaults. When you’re ready to give it a personality, update the LLM model it was created with:Reading call results
After the call ends, stop it and fetch the record:messages and analysis are only available after the call ends — both are empty while the call is active.
Next steps
Agents
Voice, language, recording, and behaviour settings
Tools
Give your agent actions — SMS, email, data capture, transfer
Phone calls
Make real outbound calls with your telephony provider
Web SDK
Embed voice in your browser app