Overview
Voice AiLunaPro answers voice calls that WhatsApp users place to your WhatsApp Business number. Only inbound calls are supported.Prerequisites
- A Meta business portfolio with a WhatsApp Business phone number on Cloud API
Step 1: Create a Meta App
- Go to developers.facebook.com/apps and click Create App
- Enter an app name and contact email, then click Next
- Select Connect with customers through WhatsApp and click Next
- Select the business portfolio that owns your WhatsApp number, click Next, then click Create app
Step 2: Collect Credentials
WhatsApp Business account ID- In your app, open Use cases → Connect on WhatsApp → API Setup
- Select any of your numbers in the From dropdown
- Copy the WhatsApp Business account ID shown below it. One AiLunaPro configuration covers every number on the account.
- Open Business settings → Users → System users and select a system user with Admin access (click Add to create one)
- Click ⋯ → Assign assets, and give the system user full control of your app and your WhatsApp account
- Click Generate token, select your app, set expiration to Never, and grant
whatsapp_business_messagingandwhatsapp_business_management - Copy the token — Meta shows it only once
- In your app, open App settings → Basic
- Click Show next to App secret and copy it

Meta App Dashboard — App settings > Basic (App ID and App secret)
Step 3: Configure in AiLunaPro
- Navigate to /telephony-configurations, click Add configuration, and select WhatsApp
- Enter the Access Token, WhatsApp Business Account ID, and App Secret, then click Create. AiLunaPro checks them with Meta and subscribes your app to the account’s webhooks before saving.
- Open the new configuration. Under Webhook for your Meta app, copy the Callback URL and the Verify token — you’ll paste both into Meta in Step 4
- In Phone numbers, click Refresh numbers. AiLunaPro imports the numbers Meta lists on the account. The result names any number it had to skip, so check it before assigning workflows.
- Edit each number that should take calls and set its Inbound workflow to the agent that should answer. A number with no workflow rejects calls.

Meta App Dashboard — WhatsApp > API Setup

AiLunaPro — Add telephony configuration (WhatsApp)
Step 4: Configure the Webhook in Meta
- In your app, open Use cases → Connect on WhatsApp → Configuration
- Paste the Callback URL and Verify token from Step 3, then click Verify and save
- In the Webhook fields list that appears, turn on Subscribe for
calls

AiLunaPro — Webhook for your Meta app

Meta App Dashboard — Configure a webhook
Step 5: Turn On Calling
- Open WhatsApp Manager → Account tools → Phone numbers
- Click the gear icon next to each number and open Call settings
- Turn on Allow voice calls
{"success": true}.
Step 6: Test
Call one of your business numbers from the WhatsApp app on a phone. Your AiLunaPro agent answers.Troubleshooting
'This business is not accepting calls'
'This business is not accepting calls'
'To use WhatsApp calling features, you need to configure webhooks or set up SIP'
'To use WhatsApp calling features, you need to configure webhooks or set up SIP'
calls webhook yet. Complete Step 4, then turn on calling.Create fails with 'Meta did not accept these credentials'
Create fails with 'Meta did not accept these credentials'
Create fails with 'Meta did not let this app subscribe'
Create fails with 'Meta did not let this app subscribe'
whatsapp_business_management and full
control of the WhatsApp account. Regenerate the token with that permission
and save again.Verify and save fails
Verify and save fails
Refresh numbers finds nothing, or misses a number
Refresh numbers finds nothing, or misses a number
