- A development project UUID.
- An team key with
sessions:readandsessions:manage.
1. Create a testing number
projectId is required. country is optional and defaults to US; it accepts
one of the 243 WhatsApp-supported ISO alpha-2 codes published in the request
schema. The response contains the generated testing-session identifier. A
successful response means the number’s API-controlled device is connected and
ready to receive commands. The linked device reconnects after service or app
restarts without another pairing step. Removing the testing number invalidates
that device.
Testing numbers can message only active testing numbers in the same project.
A send request can identify the recipient as an E.164 number such as
+15551234567 in conversation.phoneNumber.
A malformed, unknown, stopped, removed, or cross-project recipient returns the
same 404 Not Found result and no chat, contact, or message is created.
Testing-number API sessions simulate the public messaging and session command
surface, including media, message mutations, acknowledgements, contacts,
groups, channels, presence, privacy, profiles, labels, and business catalogs.
The API-controlled device and Inspector read the same simulated account and
conversation state. Message requests remain available while the recipient’s
Inspector companion is closed and deliver after it reconnects. Removing the
recipient cancels pending delivery. No simulated command contacts WhatsApp or
a real recipient.
2. List the project’s sessions
testMode: true.
3. Remove the testing number
Where to go next
Number pool
List and manage testing numbers.
Inspector ownership and devices
Open a testing session in the desktop app.
Sandbox limits
Review throughput and included data.
Authentication
Review credential audiences and scopes.