Perform call action
Perform various call actions via the WhatsApp Calling API.
Proxy endpoint: Proxies directly to Meta Graph API.
Supports the following actions:
- connect: Initiate an outbound call to a WhatsApp user
- pre_accept: Pre-establish WebRTC connection before accepting call
- accept: Accept an inbound call from a WhatsApp user
- reject: Reject an inbound call
- terminate: End an active call
Authorizations
Project API key for authentication. This is the recommended authentication method.
Get your API key from the Kapso dashboard under Integrations > API keys.
Path Parameters
WhatsApp Business Phone Number ID
Body
whatsapp "whatsapp"
The action to perform
connect, pre_accept, accept, reject, terminate "accept"
Recipient WhatsApp ID (required for connect action)
"15551234567"
Call ID (required for pre_accept, accept, reject, terminate)
"wacid.ABGGFjFVU2AfAgo6V-Hc5eCgK5Gh"
WebRTC session description (required for connect, pre_accept, accept)
Arbitrary tracking string (max 512 chars, optional for connect/accept)
512"tracking_id_12345"

