The Initiate or Terminate WhatsApp Voice call API allows you to initiate a new WhatsApp Voice call or terminate an existing WhatsApp Voice call through the Kaleyra Tech Provider platform.
The API supports the following actions:
Initiate Call (connect): To initiate a new outbound voice call, set the action parameter to connect. The request must include the recipient's WhatsApp phone number (to) and a session object containing the SDP offer (sdp_type and sdp).
Terminate Call (terminate): To terminate an existing voice call, set the action parameter to terminate and provide the corresponding WhatsApp call_id.
The API forwards the request to Meta's WhatsApp Cloud API and returns the corresponding response indicating whether the requested call operation was successfully processed.
Note: Successful call initiation returns a unique WhatsApp Call ID, which must be retained for subsequent call management and termination operations.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||

