WhatsApp Business Calling API Integration
Introduction
The WhatsApp Business Calling API enables businesses to initiate and receive voice calls with WhatsApp users using Voice over VoIP. Unlike traditional Cloud API messaging workflows that rely on Graph API endpoints and webhooks, WhatsApp Calling supports SIP (Session Initiation Protocol) as the signaling protocol for voice communication.
Setup
Prerequisites and Account Setup
Before configuring WhatsApp Calling, ensure the following prerequisites are met:
Account Requirements
-
Create a verified WhatsApp Business Account (WABA) in Meta Business Manager.
-
Register a phone number for calling.
The business number must be connected to the WhatsApp Cloud API (not the WhatsApp Business App).
-
Obtain a Permanent Access Token or System User Access Token for API authentication.
-
Enable Calling on the business phone number.
Application Requirements
Before configuring SIP signaling:
- Ensure all WhatsApp Calling prerequisites are satisfied.
- Verify that the application has messaging permissions for the target business phone number.
- Validate messaging functionality by sending and receiving messages through the Graph API.
- Use the same application for SIP configuration.
- Verify the phone number status using the Health Status API.
- Ensure the application mode is set to Live (not Development).
User-Initiated Calls
User-initiated calls are calls placed by a WhatsApp user to your business.
Configuration Steps
Enable and configure SIP on the business phone number.
Example API Request
Code
Business-Initiated Calls
Business-initiated calls are calls placed by your business to a WhatsApp user.
Requirements
- Ensure that the user has granted calling permission to the business.
- The account owner must retrieve the Meta-generated SIP password.
To enable Outbound WhatsApp Calls via IraVoice, Epicode team will configure the SIP password on the SIP server to respond to Meta's digest authentication challenges.
References
- WhatsApp Cloud Calling API
https://developers.facebook.com/docs/whatsapp/cloud-api/calling/
- Calling Settings
https://developers.facebook.com/docs/whatsapp/cloud-api/calling/call-settings
- SIP Configuration
https://developers.facebook.com/docs/whatsapp/cloud-api/calling/sip

