Answer calls around the clock
Missed WhatsApp calls become answered conversations: the agent picks up, greets the caller by their thread history, and handles the request or books a callback.
WhatsApp's official APIs stop at messages — voice calls are out of reach for ordinary integrations. DialogBrain runs your WhatsApp on real devices, so an AI agent can answer an incoming call, speak naturally, translate live, and file the transcript into the same thread as the chat.
Link a WhatsApp account once in the app. From then on a call is one request: the same agent that answers your inbound calls can also place them.
A whatsapp: prefixed number is a 1:1 call. A group JID sends the agent into that group call as a participant.
curl -X POST https://api.dialogbrain.com/v1/calls \
-H "X-API-Key: $DIALOGBRAIN_KEY" \
-H "Idempotency-Key: call-9f21c7" \
-H "Content-Type: application/json" \
-d '{
"agent_id": 118,
"target": "whatsapp:+15551234567",
"greeting": "Hi, calling from Acme about your booking."
}'# pip install dialogbrain
from dialogbrain import DialogBrain
db = DialogBrain(api_key=os.environ["DIALOGBRAIN_KEY"])
call = db.calls.create(
agent_id=118,
target="whatsapp:+15551234567",
greeting="Hi, calling from Acme about your booking.",
idempotency_key="call-9f21c7", # a retry returns the same call
)
print(call["call_id"], call["status"]) # -> ... dialing202 Accepted
{
"call_id": "7a6daec1b3cc4585ba0280cc50de5e23",
"status": "dialing",
"channel": "whatsapp",
"target": "whatsapp:+15551234567",
"thread_id": 6808472
}The call is stored in the same conversation as the chat with that contact, so a follow-up message has the call in its context.
# how it ended
curl https://api.dialogbrain.com/v1/calls/7a6daec1b3cc4585ba0280cc50de5e23 \
-H "X-API-Key: $DIALOGBRAIN_KEY"
# -> status, duration_seconds, outcome
# what was said
curl https://api.dialogbrain.com/v1/conversations/6808472/messages \
-H "X-API-Key: $DIALOGBRAIN_KEY"Inbound calls need no target: the agent answers on the linked account according to its trigger.
Missed WhatsApp calls become answered conversations: the agent picks up, greets the caller by their thread history, and handles the request or books a callback.
The agent can participate in WhatsApp group calls — listen, answer when addressed, and translate between participants in real time.
Speak your language, your caller hears theirs. The shared translation engine that powers Telegram and Google Meet calls runs on WhatsApp identically.
The voice agent knows the text thread with the caller — the invoice discussed last week, the delivery promised yesterday — because calls and chat live in one thread.
Calls run through WhatsApp on real managed devices — no gray emulation of the messaging API, and the same number your customers already have.
Any message the agent drafts after the call sits in the approval queue until your team sends it.
No — the official Business API covers messaging only. Answering calls requires WhatsApp running on a real device, which is how DialogBrain operates it.
Yes. Calls and text share one thread per contact, so the agent answers with the full conversation history in context.
Yes, speech-to-speech translation runs during the call in both directions.
Every call is transcribed and saved in the contact’s thread, searchable like any message.