<!-- https://missblue.dev/help/articles/test-with-the-sandbox -->

[API & integrations](https://missblue.dev/help/collections/api-and-integrations)

# Test your integration in the sandbox

Simulate sends, replies, and failures before connecting your integration to a real number.

Miss Blue team  Updated September 14, 2026  2 min read

[Browse this collection](https://missblue.dev/help/collections/api-and-integrations)

## Start with a sandbox key

1.  Open your project’s Sandbox area and create a sandbox API key.
2.  Configure your server-side integration with that key and the normal Miss Blue API origin.
3.  Check that the key begins with mb\_sandbox\_. Keep it on your server, outside browser code and source control.
4.  Run a simulated send and inspect the returned message and conversation records.

**Keep in mind**

Only mb\_sandbox\_ keys select the simulator. Legacy keys beginning with mb\_test\_ can send real traffic. Do not assume a key is simulated because its name contains test.

## Exercise more than the happy path

The sandbox can simulate sent, delivered, read, reply, failed, offline, rate\_limited, and timeout scenarios. Use the documented scenario controls to check how your integration updates its records and handles failures.

Test a reply that reaches the right conversation, a failed send that does not create an endless retry loop, and a timeout where your app needs to inspect the result before retrying. Sandbox fixtures let you repeat these cases without contacting a customer.

-   [Sandbox requests, scenarios, and examples](https://missblue.dev/docs/sandbox)

## Test your webhook receiver deliberately

Register a sandbox webhook endpoint when you want to exercise your receiver. Sandbox events can make real HTTP requests to the webhook URL or status callback you explicitly provide, even though the messages are simulated.

Use a test receiver, verify signatures as documented, and check that duplicate events do not repeat business actions. Keep sandbox records separate from live customer records in your own application.

## Know what the sandbox does not test

When the integration behaves correctly, switch to a live key and an accessible ready number for a controlled test with a consenting recipient. Confirm the real send, reply, and webhook flow before enabling a broader workflow.

-   It does not contact real recipients, place live calls, purchase numbers, or bill for simulated traffic.
-   It does not test Apple device behavior or actual delivery and playback of media. Uploads are limited metadata fixtures.
-   Sandbox data is bounded and expires after seven days, with cleanup on a subsequent request.
-   Resetting the sandbox clears its fixture data and registered endpoints. Sandbox keys remain valid; register the test endpoints again when needed.

## Related articles

-   [Create, rotate, and revoke an API key Choose live or sandbox mode, show or copy a key again when you need it, and replace a credential without losing track of its use. 2 min read](https://missblue.dev/help/articles/create-and-rotate-api-keys)
-   [Set up webhooks for replies and delivery events Choose events, store the signing secret, and diagnose a receiver that is not accepting deliveries. 3 min read](https://missblue.dev/help/articles/set-up-webhooks)
-   [Connect messaging to your CRM Choose the right project, test the event flow, and coordinate automation with your team. 2 min read](https://missblue.dev/help/articles/connect-your-crm)

## Still need a hand?

Send us your question, or text the team at (929) 272-7048.

[Contact the team](https://missblue.dev/contact)  [Text us](sms:+19292727048)
