Skip to main content

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:
  1. Create an agent
  2. Purchase a phone number — directly through OneInbox, no Twilio account needed
  3. Make a call
  4. Check the results
Every API request uses:

Prerequisites


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.
Save both IDs from the response:
  • 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:
Option B — Auto-assign (skip the search):
Your number is now live both ways: it can call out, and anyone who dials it reaches your agent automatically.
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:
Your phone rings — answer it to talk to your agent live.

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:
See Tools for the full list — SMS, email, calendar booking, data extraction, and more.

Add a knowledge base

Give your agent a document or URL to answer questions from:
See Knowledge bases for uploading files, syncing URLs, and managing sources.

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