WhatsApp Test Numbers and Sandbox Accounts Explained
What the API Setup test number can do, how Embedded Signup sandbox accounts differ, their limits, and how to test webhooks without risking a production number.
Meta offers more than one way to test a WhatsApp integration without touching a real customer, and they are easy to confuse. The test number in the API Setup panel, the sandbox account for Embedded Signup and the calling sandbox are three different tools with different owners, limits and lifetimes. Choosing the right one saves you from burning a production number's registration quota on an experiment.
Which test tool does what
The API Setup test number is for a developer's first sends, the Embedded Signup sandbox is for partners rehearsing customer onboarding, and the calling sandbox is a mock account for calling features. Each solves a different problem, and none is a substitute for a registered production number.
| Tool | Who it is for | Where it comes from |
|---|---|---|
| API Setup test number | Any developer building a first integration | App Dashboard, WhatsApp, API Setup |
| Embedded Signup sandbox account | Partners testing the signup flow | App Dashboard, WhatsApp, Quickstart, Testing Integrations, Claim sandbox account |
| Calling sandbox account | Tech Partners testing calling features | App Dashboard, WhatsApp, Partner Tools |
Meta's changelog dates the sandbox features: sandbox accounts for easier testing of the Embedded Signup flow were added on December 10, 2024, and Solution Partners could claim sandbox accounts from June 18, 2025.
The API Setup test number
The API Setup panel lets you send a first message from a Meta-provided From number to a To number you choose, using a temporary token. Meta's guide has you save the test phone number ID and the Messaging account ID, then reply from the recipient phone, which opens a 24-hour customer service window for non-template messages.
Meta describes test accounts as having relaxed messaging limits, and they do not need a payment method to send template messages. That is the main reason to start here: you can verify your request format, your webhook endpoint and your handling of statuses before billing or registration enters the picture.
Expect a recipient list on the receiving side. Meta's calling sandbox page describes a test number that exchanges messages only with listed recipients, up to five numbers, each verified by a code. For messaging, read the limit shown in your own API Setup panel, and plan for a short list of team phones rather than a broad pilot.
The Embedded Signup sandbox account
A sandbox account is a mock account that lets a partner test the Embedded Signup flow without creating real assets. It is valid for 30 days, after which it must be reclaimed, and you claim one in the App Dashboard under WhatsApp, Quickstart, Testing Integrations, Claim sandbox account.
Its constraints are part of its design. You cannot use a sandbox account to create additional portfolios, Messaging accounts, WhatsApp accounts or phone numbers, because those assets are generated automatically. The sandbox account is tied to the app admin, who must be signed into their Meta developer account for the assets to appear in the flow.
The returned business phone number cannot send or receive messages. What you get is the account structure and a token that can retrieve the account's waba_id, which is enough to test your onboarding logic: capturing the IDs, exchanging the code, storing the token. Deleting a sandbox account is irreversible, and you must claim a new one to test again.
The calling sandbox
Meta's calling sandbox page describes a mock Messaging account for calling features, and says only Tech Partners can create one. It says you can have one sandbox at a time, so you delete the existing one before claiming another, and that you obtain the sandbox account ID and test number through the Embedded Signup Builder, subscribe the app and register the number with a PIN.
Because the page is specific to calling, only rely on it when you are building calling features. For text messaging, the API Setup test number and a registered production number are the paths to use. If your project does not use calling, you can skip this tool entirely.
Whichever tool you choose, label it in your configuration. A variable called WHATSAPP_PHONE_NUMBER_ID that holds a test value in one environment and a production value in another is an accident waiting to happen. Names such as TEST_PHONE_NUMBER_ID and PROD_PHONE_NUMBER_ID make a wrong deployment visible in code review.
What a test number proves and what it does not
A test number proves that your request shape, token, permissions and webhook endpoint work; it does not prove production behavior for limits, quality or display name review. Meta states that Official Business Account status is not granted to test accounts, and test accounts use relaxed limits, so numbers observed in testing will not match production.
- Proves: the request is valid, the token has the right access and the webhook arrives at your endpoint.
- Proves: your handler processes statuses such as sent, delivered and read.
- Does not prove: your throughput, because limits are relaxed on test accounts.
- Does not prove: template approval timing, display name review or quality outcomes on a real number.
Before launch, run at least one smoke test on the production number with a small, consented audience. Opt-in still applies to real recipients, as covered in the opt-in article of this series.
Example: a test plan that protects production
A team builds a new integration. On day one a developer sends the first message from the API Setup panel and replies to open the window. On day two the team deploys a webhook endpoint and uses the panel's test payload to check parsing. On day three a partner engineer claims an Embedded Signup sandbox account and verifies that the onboarding page stores the account ID and exchanges the code.
None of these steps registered a production number, so the portfolio's number cap is untouched. When the team finally registers the production number, it has already validated the token permissions, the webhook handler and the onboarding logic. Write the plan down so the next person does not repeat it with real numbers.
The plan also sets an expiry for itself. Sandbox accounts last 30 days, temporary tokens last hours, and recipient lists change when people leave the team. A short checklist at the top of the test document, with the date each item was last verified, tells a newcomer which parts are stale before they spend an afternoon debugging an expired credential.
The quickstart covers the first send, and the webhooks documentation explains how to receive and inspect events while you test.
Frequently asked questions
Can a test number send messages to any phone?
Expect to work from a short recipient list. Meta's calling sandbox page describes up to five verified recipient numbers, and your API Setup panel shows the limit that applies to messaging.
How long does an Embedded Signup sandbox account last?
Meta says sandbox accounts are valid for 30 days, after which they must be reclaimed. Deleting one is irreversible, and you claim a new one to continue testing.
Can I turn a sandbox account into a production account?
Meta describes the sandbox as a mock account whose returned number cannot send or receive messages. For production, register a real number following the registration flow.
Do test numbers need a payment method?
Meta states that test accounts have relaxed messaging limits and do not require a payment method to send template messages.
Fontes
Documentação oficial da Meta, conferida em 31 de outubro de 2026.