# WhatsApp Business Calling API: how calls connect

> How the WhatsApp Calling API works on Cloud API: user- and business-initiated calls, call permissions, SDP accept and connect, SIP signaling and pricing.

Published 2026-11-02. Z-API Omni team.

The WhatsApp Business Calling API lets a business number on the Cloud API "initiate and receive calls with WhatsApp users" ([Meta Calling API overview, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/calling)). Calls in both directions connect through an SDP exchange. Your server gets a `calls` webhook or sends a `POST` to `/<PHONE_NUMBER_ID>/calls`, and the audio flows over WebRTC by default. User-initiated calls are free and work wherever the Cloud API does. Business-initiated calls need the user's permission first, are billed by duration, and are unavailable in some countries.

## Two call directions

Meta defines user-initiated calls as "Calls that are made from a WhatsApp user to your business." Business-initiated calls are "Calls that are made from your business to a WhatsApp user." User-initiated calling is available "in every location Cloud API is available." Business-initiated calling isn't available in the United States, Canada, Egypt, Vietnam or Nigeria.

The number must have a messaging limit of at least 2,000 to use calling. Sandbox and public test numbers are exempt. Meta's sandbox allows "25 call permissions per day" and "100 per week". Calling is a feature of Meta's Cloud API; [the QR connection comparison](/academy/articles/whatsapp-qr-connection-vs-meta-official-api/) explains how the other connection differs.

| Layer | Default | Alternative |
| --- | --- | --- |
| Signaling | Graph APIs plus webhooks, over HTTPS | SIP, over TLS, after explicit enablement |
| Media | WebRTC (ICE, DTLS, SRTP) | SDES SRTP |
| Events | `calls` webhook field | optional SIP call webhooks |

## Turn calling on for the number

"Calling is not enabled by default on a business phone number." Enable it with `POST /<PHONE_NUMBER_ID>/settings` and a `calling` object ([call settings, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/call-settings)). It takes `status`, `call_icon_visibility`, `call_hours` with a `timezone_id`, `callback_permission_status` and `sip`. Subscribe your app to the `calls` webhook field unless you use SIP.

Meta can restrict calling on its own. After negative user feedback, "Cloud API automatically restricts calling functionality on your phone number for a period of 7 days." Meta also says "you are expected to pick up calls that WhatsApp users place to you." When pickup stays low, "The calling button will be hidden from users."

## How a user-initiated call connects

The user taps call, and Meta sends a Call Connect webhook. Each entry in `calls[]` carries an SDP offer. Here is the entry from Meta's sample ([user-initiated calls, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/user-initiated-calls)):

```json
{
  "id": "wacid.ABGGFjFVU2AfAgo6V-Hc5eCgK5Gh",
  "to": "16315553601",
  "from": "16315553602",
  "from_user_id": "<BSUID>",
  "from_parent_user_id": "<PARENT_BSUID>",
  "event": "connect",
  "timestamp": "1671644824",
  "direction": "USER_INITIATED",
  "deeplink_payload": "deeplink_payload",
  "cta_payload": "cta_payload",
  "session": {
    "sdp_type": "offer",
    "sdp": "<<RFC 8866 SDP>>"
  }
}
```

The envelope uses `object: whatsapp_business_account` and `field: "calls"`, and its contacts carry `wa_id`, `user_id` and `parent_user_id`. Your media stack turns the offer into an SDP answer. You then send `pre_accept`, which Meta recommends, and `accept` to `POST /<PHONE_NUMBER_ID>/calls`. This is Meta's accept body:

```json
{
  "messaging_product": "whatsapp",
  "call_id": "wacid.ABGGFjFVU2AfAgo6V-Hc5eCgK5Gh",
  "action": "accept",
  "session": {
    "sdp_type": "answer",
    "sdp": "<<RFC 8866 SDP>>"
  },
  "biz_opaque_callback_data": "random_string"
}
```

"You have about 30 to 60 seconds after the Call Connect webhook is sent to accept the phone call." Meta also says to "make sure to flow the call media only after you receive a 200 OK response back." A webhook stuck behind slow processing can miss the call entirely. Handle `calls` events on a fast path, separate from the queue that runs message logic ([webhook queue post](/academy/articles/whatsapp-webhook-queue-architecture-workers/)).

When the call ends, a webhook with `"event": "terminate"` arrives. Its `status` is `FAILED` or `COMPLETED`, with `start_time`, `end_time` and `duration`. Failed calls may carry an `errors` array with `code`, `message`, `href` and `error_data.details`.

## Business-initiated calls need permission

"Before you can call a WhatsApp user, you must obtain their permission to do so" ([user call permissions, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/user-call-permissions)). Calling without permission returns error 138006, described as "a lack of a call request permission". The [error codes reference](/academy/articles/whatsapp-cloud-api-error-codes-reference/) lists other Cloud API codes.

Inside the customer service window, ask with an interactive message. Outside it, use a call permission request template, which is a utility template ([template categories](/academy/articles/whatsapp-template-categories-marketing-utility-authentication/)). Meta's free-form sample:

```json
{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "<WHATSAPP_USER_PHONE_NUMBER>",
  "recipient": "US.13491208655302741918",
  "type": "interactive",
  "interactive": {
    "type": "call_permission_request",
    "action": {
      "name": "call_permission_request"
    },
    "body": {
      "text": "We would like to call you to help support your query on Order No: ON-12853."
    }
  }
}
```

Meta's samples carry both `to` and `recipient`. The [BSUID page](https://developers.facebook.com/documentation/business-messaging/whatsapp/business-scoped-user-ids) describes sending with `recipient` set to the BSUID. The reply arrives as an interactive message of type `call_permission_reply`, with `response` set to `accept` or `reject`. Approvals include an `expiration_timestamp`, and `is_permanent` is `false` for temporary ones.

Meta's permissions page sets these limits.

| Rule | Meta's limit |
| --- | --- |
| Temporary permission | 7 calendar days (168 hours) |
| Permanent permission | no expiry, same connected-call limit |
| Permission requests | at most 1 in 24 hours and 2 within 7 days |
| Connected calls | "a maximum of 100 connected calls every 24 hours" |
| Unanswered calls | 2 in a row trigger a reconsider prompt; 4 in a row revoke the permission |

With permission granted, send `connect` with your SDP offer. Meta's sample:

```json
{
  "messaging_product": "whatsapp",
  "to": "14085551234",
  "recipient": "US.13491208655302741918",
  "action": "connect",
  "session": {
    "sdp_type": "offer",
    "sdp": "<<RFC 8866 SDP>>"
  },
  "biz_opaque_callback_data": "0fS5cePMok"
}
```

Progress comes back as `statuses[]` entries on the `calls` field, with `type` set to `call` and `status` set to `RINGING`, `ACCEPTED` or `REJECTED` ([business-initiated calls, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/business-initiated-calls)). Each entry echoes your `biz_opaque_callback_data`, which is where to put your own call ID. Meta's calling pages don't state how long a business-initiated call rings.

## SIP instead of Graph API signaling

Teams with a PBX or contact-center platform can use SIP. "WhatsApp Business Calling API supports use of SIP as the signaling protocol instead of our Graph API endpoints." The switch is exclusive. "When SIP is enabled, you cannot use calling-related Graph API endpoints" ([SIP, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/sip)).

"TLS transport is mandatory for SIP," with port 5061 as the default. "Each phone number can have only one SIP server configured." Meta generates a SIP password per business number and app combination and uses digest authentication. For business-initiated INVITEs, the username must match the business number. This is the settings body, with Meta's unquoted hostname placeholder put in quotes and the port as a number (5061, the documented default) so it parses:

```json
{
  "calling": {
    "sip": {
      "status": "ENABLED",
      "webhook_delivery": "ENABLED",
      "servers": [
        {
          "hostname": "SIP_SERVER_HOSTNAME",
          "port": 5061
        }
      ]
    }
  }
}
```

Meta's sample also includes a `request_uri_user_params` object in each server entry. Its fields are on the SIP page. The SIP call webhooks, `call_created` and `terminate`, are optional.

## What calls cost

"All user-initiated calls are free" ([Calling API pricing, accessed 2026-11-02](https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/pricing)). Business-initiated calls are billed by duration, destination country code and monthly volume tier, with `pricing_category` set to `CALLING`. Duration is counted "in six-second pulses", and "Our systems count fractional pulses as one pulse." Tiers depend on "minutes called within the calendar month." When a call crosses into a cheaper tier, "the entire call is priced at the lower rate."

The permission request is a message and follows per-message pricing. An incoming user call opens or refreshes the 24-hour customer service window "regardless of if you accept the call or not." That window decides whether you can reply with free-form messages, as [the 131047 post](/academy/articles/whatsapp-error-131047-24-hour-window-templates/) explains. Meta publishes rate cards per currency, effective April 1, 2026, and says "Calling rates do not change on October 1, 2026." Check the pricing page for the current per-minute rates before you budget outbound calls.

*Z-API Omni team*
