In the API, each number is a line object, and your workspace's sandbox number is one of them.
What a test key does
- It sends only to test numbers,
+1 NPA 555 01xx, such as+19175550142. Any other number is refused. - Messages go to your workspace's sandbox number and the simulator, never to a real person.
- Sandbox messages are marked
is_test: trueand never count towards number limits or health. - In the dashboard, Developers, then Sandbox, shows sandbox traffic and can send simulated replies.
Reply as the contact
POST /v1/sandbox/inbound records a text from a test number to a sandbox number, as if the contact had replied. The contact is matched or created, the conversation opens and message.received fires. STOP and START work as they would live.