Overview
In a few minutes you will have a working voice agent with its own phone number, and you’ll have made a real outbound call with it. You will:- Create an agent
- Purchase a phone number — directly through OneInbox, no Twilio account needed
- Make a call
- Check the results
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, voice, and system prompt. The agent is ready to take calls immediately.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 — Purchase a phone number
Buy a number directly through OneInbox — no Twilio or telephony account needed. Option A — Search and pick a specific number:Already have a number in Twilio you’d rather use? See Phone numbers for the bring-your-own-number path.
Step 3 — Make a call
Call any number you want, using your new number as the caller ID:Step 4 — Check call results
After the call ends, fetch the record:messages, outcome, and ai_summary are only available after the call ends.
Customize your agent
Your agent works out of the box with defaults. When you’re ready to tailor it to your use case, update it without rebuilding anything.Give it a personality
Set a system prompt to define the agent’s role and behaviour, and a first message to control how it opens every call:Add tools
Tools let your agent take actions during a call — transfer to a human, end the call, send an SMS, book a meeting, and more. Create each tool, then attach them to the LLM:Add a knowledge base
Give your agent a document or URL to answer questions from:Next steps
Agents
Voice, language, recording, and behaviour settings
Tools
Give your agent actions — SMS, email, data capture, transfer
Knowledge bases
Upload docs or sync URLs for your agent to answer from
Phone numbers
Bring your own Twilio number, or learn more about outbound/inbound