Overview
Phone calls go through your telephony provider. OneInbox currently supports Twilio and Telnyx as telephony providers. Before you can make or receive calls you need to:- Store your provider integration
- Register a phone number
- Make an outbound call or let inbound calls route to your agent
Step 1 — Add your provider integration
Create an integration with your telephony provider’s API key. Setprovider to match your carrier (e.g., twilio, telnyx).
For Twilio, your Account SID and auth token are available in the Twilio Console — Dashboard → Account Info.
id — you’ll use it as credential_id in Step 2.
Step 2 — Register a phone number
Use thecredential_id from Step 1 to link your provider integration to the phone number. This tells OneInbox which provider account to route calls through and which agent to connect the call to.
{ "agent_id": "..." }.
Step 3 — Make an outbound call
Pass the registeredfrom_number and the destination to_number. Use variables to inject per-call context (e.g., the customer’s name or order ID) into the agent’s first message and system prompt.
| Status | Meaning |
|---|---|
initiated | Call created, connecting through your provider |
in_progress | Call connected, agent is talking |
completed | Call ended normally |
failed | Call failed to connect |
Step 4 — Read the results
After the call ends, fetch the full record to get the transcript, outcome, and summary.messages and analysis are only populated after the call ends. Stop first, wait 2–3 seconds, then fetch.