Getting Started
Introduction to the AutoPhone platform and how to get started
Overview
AutoPhone is an AI-powered voice communication platform, designed to deliver seamless, intelligent voice interactions for your business.
AutoPhone has different parts:
Platform Dashboard
Manage AI assistants, phone numbers, SIP trunks, contacts, and automation pipelines.
AI Runtime
Real-time voice AI engine supporting Twilio, browser SDK, and chat interfaces.
SIP Server
Enterprise-grade bridge connecting SIP trunks to the AI runtime.
API Reference
RESTful APIs for managing assistants, calls, and integrations programmatically.
Want to learn more?
Read our in-depth Authentication Guide to get started with API access.
Quick Start
Create Your Organization
Sign up and create your organization in the platform dashboard. Add your Twilio credentials to enable phone integration.
npm install @autophone/sdkConfigure Your AI Assistant
Create an AI assistant with a system prompt and voice model. Configure the assistant's behavior, language, and response style.
import { AutoPhone } from '@autophone/sdk';
const client = new AutoPhone({
apiKey: process.env.AUTOPHONE_API_KEY,
});
const assistant = await client.assistants.create({
name: 'Customer Support',
systemPrompt: 'You are a helpful customer support agent...',
voice: 'alloy',
language: 'en-US',
});Assign a Phone Number
Connect a phone number to your assistant. You can use Twilio numbers or bring your own via SIP trunks.
await client.phoneNumbers.assign({
assistantId: assistant.id,
phoneNumber: '+1234567890',
});Start Communicating
Your AI assistant is now live! It can handle both inbound and outbound calls automatically.
const call = await client.calls.create({
assistantId: assistant.id,
to: '+1987654321',
from: '+1234567890',
});
console.log(`Call started: ${call.id}`);Integration Options
Connect your existing Twilio account to AutoPhone for instant phone number management and call handling.
await client.integrations.twilio.connect({
accountSid: process.env.TWILIO_ACCOUNT_SID,
authToken: process.env.TWILIO_AUTH_TOKEN,
});For enterprise deployments, connect your SIP infrastructure directly to AutoPhone.
await client.integrations.sip.create({
name: 'Office PBX',
host: 'sip.example.com',
port: 5060,
transport: 'UDP',
});Embed voice AI directly in your web application with our browser SDK.
import { AutoPhoneClient } from '@autophone/browser-sdk';
const phone = new AutoPhoneClient({
apiKey: 'your-public-key',
assistantId: 'asst_xxx',
});
await phone.connect();
phone.on('message', (msg) => console.log(msg));