# Twilio

> Twilio is a cloud communications platform whose APIs let software send and receive SMS, voice calls, WhatsApp messages and email, and buy phone numbers in many countries.

Also called: Twilio API, Twilio SMS, Twilio Voice, Twilio Programmable Messaging. Category: Tools and platforms. Source: https://aibuildindex.com/glossary/twilio

## In the index

- Twilio: median $1,200, middle half $400 to $4,800, 782 priced briefs (https://aibuildindex.com/tools/twilio)
- AI voice agent: median $1,600, middle half $440 to $6,300, 1,116 priced briefs (https://aibuildindex.com/cost/voice-agent)

Twilio provides the plumbing for messages and calls. Rather than dealing with mobile carriers directly, a builder uses Twilio's APIs to send a text, place a call, receive a reply or run a phone menu. Buyers meet it in briefs for SMS reminders, two-factor codes, WhatsApp bots and [voice agents](https://aibuildindex.com/glossary/voice-agent), where Twilio often supplies the phone number and the call connection.

## How it works

The buyer's Twilio account holds phone numbers and sender identities. When someone texts or calls a number, Twilio sends a [webhook](https://aibuildindex.com/glossary/webhook) to the builder's server, which replies with what to do next: send a message, speak a response, record or forward the call. Outbound messages and calls go the other way, through Twilio's API.

Twilio also offers access to the [WhatsApp Business API](https://aibuildindex.com/glossary/whatsapp-business-api), email through SendGrid, and media streams that pipe live call audio to an AI system. Voice platforms such as [Vapi](https://aibuildindex.com/glossary/vapi) and [Retell AI](https://aibuildindex.com/glossary/retell-ai) can use Twilio numbers. A typical example is a clinic reminder system: the day before each appointment Twilio texts the patient, a reply of yes or no comes back by webhook, and the booking system updates automatically.

## What it means for cost

The integration itself is usually straightforward [API integration](https://aibuildindex.com/glossary/api-integration) work. Time and money go into the parts around it:

- **Sender registration.** Business texting in some countries needs registered sender details and approved use cases, which can take days or weeks and delay launch.
- **Per-message and per-minute charges.** Running cost scales with volume and destination country. Ask for an estimate on real monthly numbers.
- **Opt-outs and consent.** Handling stop requests and consent records is a legal requirement in many markets, not an extra.
- **Account ownership.** Numbers are hard to move between accounts, so the account should belong to the buyer from day one.

Live build figures for briefs naming Twilio are on the [Twilio tool page](https://aibuildindex.com/tools/twilio).

## Common questions

### Do I need Twilio for an AI voice agent?

Not always. Some voice platforms sell phone numbers directly. Twilio is useful when you already have numbers there, need specific countries, or want one provider for calls, SMS and WhatsApp.

### Can I keep my existing business phone number?

Often yes. Many numbers can be ported to Twilio, or calls can be forwarded from the current provider. Porting rules and timings vary by country and carrier, so plan for it early.

### Why does my build need a server if Twilio does the messaging?

Twilio delivers messages and calls but does not decide what your business should say. A server receives Twilio's webhooks, applies your logic or AI, and tells Twilio what to do next.

## Related terms

- [Voice agent](https://aibuildindex.com/glossary/voice-agent): A voice agent is an AI system that holds spoken conversations, usually over the phone or in an app, by combining speech-to-text, a language model and text-to-speech so it can answer questions, collect details and take actions in real time.
- [WhatsApp Business API](https://aibuildindex.com/glossary/whatsapp-business-api): The WhatsApp Business API, now part of Meta's WhatsApp Business Platform, lets companies send and receive WhatsApp messages from software at scale, using approved templates for business-initiated messages and webhooks for incoming ones.
- [API integration](https://aibuildindex.com/glossary/api-integration): API integration is the work of connecting two or more software systems through their APIs so that data and actions flow between them automatically, for example syncing orders to accounting or sending CRM records to an AI model.
- [Webhook](https://aibuildindex.com/glossary/webhook): A webhook is an automatic message one system sends to another over the web when an event happens, such as a payment succeeding or a form being submitted, so the receiving system can react immediately without repeatedly checking for changes.
- [Vapi](https://aibuildindex.com/glossary/vapi): Vapi is a developer platform for building AI voice agents that answer or place phone and web calls, combining speech recognition, a language model and speech synthesis behind one API.
- [Retell AI](https://aibuildindex.com/glossary/retell-ai): Retell AI is a platform for building and running AI phone agents that handle inbound and outbound calls, with tools for designing conversation flows, connecting phone numbers and reviewing call results.
