Set Up a Sandbox Account for Calling | Developer Documentation
Set Up a Sandbox Account for Calling
Updated: Oct 31, 2025
Sandbox accounts are only available to you if you are a Tech Partner.
Overview
A WhatsApp sandbox account is a mock WhatsApp Business Account that you can use to test your Calling API integration. Use a calling sandbox account to test the following features:
Sandbox account calling limits
The following table outlines the calling limits for sandbox accounts. These limits are subject to change.
| Limit | Description | Production number limit | Public test number limit |
|---|---|---|---|
Connected call limit | Number of calls a business is allowed to make on approved permissions. | 100 connected calls per 24 hrs | No change |
Call Permission Request message limits | Limits the number of call permission request messages that can be sent to the same consumer | 1 request per day 2 requests per week | 25 requests per day 100 requests per week |
Unanswered call limits | When a business initiated call goes unanswered (In essence, is rejected by the user or missed by the user). | Nudge on 2 consecutive unanswered calls Revoke permission on 4 consecutive unanswered calls | Nudge on 5 consecutive unanswered calls Revoke on 10 consecutive unanswered calls |
Temporary call duration | Duration a business can call the user after permission is approved. | 7 days | No change |
Set up a sandbox account
Step 1. Access the WhatsApp developer sandbox
Step 2. Obtain credentials and identifiers for your sandbox account
id row.
Step 3. Register your test phone number and subscribe to your WABA
Prerequisites
Ensure that you have the following information from the previous steps:
To complete these next steps, you will use the Graph API Explorer tool.
whatsapp_business_management and whatsapp_business_messaging permissionsIn the endpoint builder, enter /<YOUR_SANDBOX_WABA_ID>/subscribed_apps, then click Submit.{
"success": true
}/<YOUR_SANDBOX_TEST_PHONE_NUMBER_ID>/register in the endpoint builder.In the left sidebar, click JSON, then enter the following JSON body, then click Submit:{
"messaging_product": "whatsapp",
"pin": "123456"
}success response:{
"success": true
}Step 4. Test your messaging functionality
/<YOUR_SANDBOX_TEST_PHONE_NUMBER_ID>/messages in the endpoint builder.In the left sidebar, click JSON, then enter the following JSON body, then click Submit:{
"messaging_product": "whatsapp",
"to": "YOUR_NUMBER", // Replace this value with phone number of your device.
"type": "template",
"template": {
"name": "hello_world",
"language": { "code": "en_US" }
}
}"message_status": "accepted" value, and you should receive a text message on your device.Step 5. Configure webhooks and permissions
calls webhook field.Finish: Enable calling features on your test phone number
/<YOUR_SANDBOX_TEST_PHONE_NUMBER_ID>/settings in the endpoint builder.In the left sidebar, click JSON, then enter the following JSON body, then click Submit:{
"calling": {
"status": "ENABLED",
"call_icon_visibility": "DEFAULT",
"callback_permission_status": "ENABLED"
}
}success response:{
"success": true
}Test business-initiated calling
Before you can test business-initiated calls (BIC), you must provide user calling permissions to your sandbox account.
You can do this on the client device you are using for testing:
You can now use your Calling API integration to call the client device and test your integration.
Test user-initiated calling
You can test user-initiated calls (UIC) on the client device you are using for testing:
No comments to display
No comments to display