YCloud - Growsales AI icon

YCloud - Growsales AI

Use YCloud to send WhatsApp messages, SMS, emails, manage templates, contacts, and more

WhatsApp Calling → Connect Call

AI-generated

Summary

Initiate a WhatsApp Calling WebRTC session by connecting a call from a specified caller phone number to a callee phone number, using the provided Session Description Protocol (SDP) offer to establish the connection.

Inputs

  • From Phone Number (required) — Caller phone number in E.164 format
  • To Phone Number (required) — Callee phone number in E.164 format
  • SDP Offer (required) — Session Description Protocol (SDP) string required to set up the WebRTC session

Output shape

a JSON object representing the response from the WhatsApp Calling connect API endpoint, typically including call session details and connection status

The output includes the API response data; no pagination applies. Ensure the SDP offer is correctly formatted to successfully establish the connection.

Examples

Example 1: Connecting a WhatsApp call from one phone number to another

Specify the originating phone number, the target phone number, and the SDP offer received from the WebRTC client to initiate the call.

Links

Discussion