Use case
Your AI voice agent, answering WhatsApp calls
Your customers already call you on WhatsApp. With the Flow API calls channel you can route those calls to the voice AI you already use and let it talk, book and qualify around the clock.
How it works
- 1A customer calls your WhatsApp number and the callsRtc WebSocket reports inc-call.
- 2Your server answers with callsAccept and opens a WebRTC connection to the call.
- 3It passes the audio to your voice AI (Retell, Vapi, ElevenLabs or OpenAI Realtime) and plays the AI's voice back into the call.
- 4When the call ends you get the incomingCall webhook, and the recording if recording is on.
What you need
- A Flow API number with calls linked (Calls tab).
- A small bridge service that speaks WebRTC to Flow API and your AI's audio API (WebSocket or SIP).
- An account with your AI voice provider; you pay them directly.
Good uses
- After-hours answering and lead qualification.
- Booking and rescheduling appointments.
- Order status and common questions, with a hand-off to your team.
Do it responsibly
- Have the agent say it is an AI at the start of the call. The EU AI Act requires this kind of transparency from August 2026.
- Automated outgoing calls need the person's prior consent in many countries; in the US the FCC treats AI-generated voices as artificial voices.
- Prefer answering incoming calls: large volumes of automated outgoing calls can get a WhatsApp number restricted.
Questions
Is the AI built into Flow API?
No. Flow API gives you the WhatsApp call and its audio; you connect the voice AI you choose.
Which AI voice platforms work?
Any that can stream audio over WebSocket or SIP, for example Retell, Vapi, ElevenLabs and OpenAI Realtime.
Try it on your own number
7 days free, no credit card. Then $10 per number per month.