Initiate or Terminate WhatsApp Voice Call

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Security Identifier associated with the Kaleyra account.

string
required

WhatsApp Business Phone Number ID associated with the business.

Body Params

Request payload for initiating or terminating a WhatsApp voice call.
The fields required depend on the action being performed.

string
enum
required

Messaging platform used for the call.

Allowed:
string

WhatsApp user's phone number (callee) to whom the
business is initiating the voice call.
Required when action is connect.

string
enum
required

Action to be performed on the WhatsApp call.

Supported values:

  • connect: Initiates a new voice call.
  • pre_accept: Pre-accepts an incoming call.
  • accept: Accepts an incoming call.
  • reject: Rejects an incoming call.
  • terminate: Terminates an existing call.
Allowed:
session
object

Session information required to initiate a WhatsApp voice call.
Contains the Session Description Protocol (SDP) type and SDP offer.

string

Unique WhatsApp call ID associated with the voice call.
Required when action is terminate.

string

An arbitrary string that can be passed in the request
for tracking, identification, and logging purposes.
Optional.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json



© 2026 Kaleyra Inc. All rights reserved.
Trademarks, logos and service marks displayed on this site are registered and unregistered trademarks of Kaleyra Inc.