WhatsApp Business API
Calls API
Initiate and manage WhatsApp Business voice calls programmatically via Vobiz - WebRTC-based signaling for inbound, outbound, and call state management over the internet.
POST
Calls API
WhatsApp Business Calling runs over WhatsApp’s WebRTC infrastructure, not the PSTN. The recipient’s device must support WhatsApp voice calls and be connected to the internet.
https://api.vobiz.ai/api/v1/messaging
Authentication: Every request requires X-Auth-ID: MA_XXXXXXXX and X-Auth-Token: <token> headers (a Bearer JWT is also accepted). Set Content-Type: application/json on requests with a body. Get your credentials from console.vobiz.ai.
string
required
Your Vobiz account ID, for example
MA_XXXXXXXX.Endpoints overview
Initiate a WhatsApp call
This endpoint does not return an
sdp_answer. The SDP answer from the recipient’s device arrives asynchronously via the call webhook / WebSocket event once the call is answered.Request body
string
required
Channel (UUID) to call from.
string
required
Recipient phone number in E.164 format, for example
+919876543210.string
required
WebRTC SDP offer string.
cURL
201 Created
Manage call (actions)
channel_id, the call_id, and one of the four actions. For accept and pre_accept, include the WebRTC SDP answer in the sdp field.
Request body
200 OK
List call logs
direction and status.
cURL
200 OK