Skip to main content

WhatsApp Calling API

WhatsApp Business voice/video call capability management Base path: /api/v1/whatsapp Endpoint count: 3

WhatsApp Business Calling KPIs

GET /api/v1/whatsapp/calling/analytics
Returns aggregated KPIs (totals, answered, declined, missed, failed, avg duration, total cost) plus a per-day call-volume trend over a configurable window (1-365 days, default 30).
string
string
integer

List WhatsApp Business Call logs

GET /api/v1/whatsapp/calling/calls
Cursor-paginated list of wa_call_logs rows. Phone columns are masked for viewer/billing roles; owner/admin/developer see raw E.164. The q search covers phone + contact_name + conversation_id columns.
string
CSV of statuses to include. Allowed: queued, ringing, in_progress, completed, failed, missed.
string (enum: inbound|outbound)
string
string
string
string
string
string
integer

Initiate an outbound WhatsApp Business Call (Phase 5)

POST /api/v1/whatsapp/calling/calls
Initiate a WhatsApp Business outbound call. Walks pre-flight gates: connection lookup + access-token decrypt, country block-list (WA_CALLING_BLOCKED_COUNTRIES), calling-enabled flag on the WABA, and recipient call-permission grant. Permission-missing returns 422 with code WHATSAPP_CALLING_NO_PERMISSION; the dashboard surfaces a CTA to send the call-permission template first.
string
required
Recipient phone number (E.164, optional leading +).
string
required
Meta phone_number_id of the sender WABA number.
string
string
Echoed back on every webhook event for the call (correlation handle).
string
SDP offer for browser-side WebRTC. Omit for server-bridged calls.