Tobi is the only backend developer at a Lagos fintech. His team wants OTPs at sign-up, debit alerts after every transfer and a monthly statement reminder to all customers. The worry is the first week: a loop that fires the same OTP a thousand times, a webhook handler that marks every message as failed, or a test campaign that lands on real customers' phones.
The answer is to build and break things somewhere safe first. This guide explains how the Eudor SMS sandbox works, how to get a sandbox key, what to test before you go live, and how to switch over when you are ready.
What the sandbox is
The sandbox is a full copy of the Eudor Bulk SMS API that never sends a real SMS. You call it exactly as you would call the live API, and it answers the same way.
- No real messages. Nothing you send in the sandbox reaches a phone or a network.
- Realistic delivery reports. A built-in network simulator returns delivery reports like the ones you will get in live sending, so you can test how your system handles delivered, failed and expired messages.
- Completely separate from live sending. The sandbox runs on its own service, with its own database and its own limits. Nothing you do there can slow down or affect real traffic, yours or anyone else's.
- A free test balance. Each account gets a ₦20,000 test balance, topped up automatically every night, so you can keep testing without worrying about running out.
- Up to 10 messages per second. That is plenty for testing your flows; it is not meant for load testing.
Sandbox and live at a glance
| Sandbox | Live | |
|---|---|---|
| API base URL | https://sandbox-bulkapi.eudorng.com |
https://bulkapi.eudorng.com |
| API key | Sandbox key, starts with eud_test_ |
Live key |
| Real SMS sent | No | Yes |
| Balance | ₦20,000 test balance, topped up every night | Your prepaid wallet |
| Speed | Up to 10 messages per second | Set for your account |
| Delivery-report webhooks | Carry "sandbox": true |
Real network delivery reports |
How to get a sandbox key
The sandbox is available as soon as your Eudor account is opened.
- Sign in to the client portal at app.eudorng.com.
- Open the Developer page.
- Create a Sandbox key. Sandbox keys start with
eud_test_, so you and your team can tell at a glance which kind of key you are holding. - Copy the key straight away and store it safely, for example in your server's environment variables. The key is shown only once. We store it hashed, so it cannot be shown again; if you lose it, create a new one.
Live keys are separate. Creating or using a sandbox key does not change anything about your live keys or your live sending.
Then point your code at the sandbox base URL and send your key as Authorization: Bearer eud_test_..., exactly as described in our API docs. You don't need to whitelist your IP for the sandbox (unless you set an IP list on the key); live requests must come from a whitelisted IP.
A test plan before you go live
Work through these steps in the sandbox. Each one catches a different kind of mistake before it can reach a real customer.
- Send a single SMS. Send one message to one number and check the response. Confirm your system saves the request ID and your own reference, so you can match delivery reports later.
- Send a bulk campaign. Send the same message to a list of numbers. If you run personalised campaigns, where every recipient gets their own version of the message, test those too and read a few of the final messages. Our guide to personalised bulk SMS explains how they work.
- Run your OTP flow end to end. Trigger a code from your sign-up or login screen, check the message text, and make sure your resend limits and expiry work as you expect. For what a good OTP flow looks like, read why SMS still matters for identity verification and KYC.
- Handle delivery-report webhooks. Point your webhook URL at your test server and confirm that every status updates the right record: delivered, failed and expired. Reply 200 OK quickly, and make sure a repeated report does not break anything.
- Test the error cases. Spend the test balance and check that your system handles an insufficient-balance response calmly. Send to an invalid number and confirm you show a clear error instead of retrying for ever. Use the test numbers to check failed and expired reports: numbers ending 0000 fail and 0001 expire. The full list of test numbers is in our FAQ, under "Is there a test environment?", and the error codes are in our API docs.
Tell test reports from real ones
Every webhook the sandbox sends carries "sandbox": true, for example:
{
"request_id": "sms-5f4g3d2s1a",
"recipient": "+2348012345678",
"status": "delivered",
"error_code": null,
"timestamp": "2026-11-02T09:00:04+01:00",
"sandbox": true
}
Check this field in your webhook handler. If your test and live systems share a database or a reporting dashboard, use it to keep simulated reports out of your real delivery figures.
Going live
When your test plan passes, going live is a small change:
- Switch the base URL from
https://sandbox-bulkapi.eudorng.comtohttps://bulkapi.eudorng.com. - Switch the key from your
eud_test_sandbox key to your live key. - Send a real test to a few of your own team's numbers, from your approved sender ID, and check the delivery reports.
Keep both settings in configuration, not in your code, so you can move between sandbox and live without a new release. Keep your sandbox key too: it is the safe place to try every future change before it reaches customers.
What about SMPP?
The sandbox covers the REST API. If you connect over SMPP, our technical team arranges SMPP testing with you directly. Talk to our team to set it up.
Frequently asked questions
Do I pay for messages in the sandbox? No. Sandbox messages use your free ₦20,000 test balance, which is topped up every night. Your real wallet is never touched.
Can a sandbox message reach a real phone by mistake? No. Nothing in the sandbox reaches a network; a simulator produces the delivery reports.
Can I use my sandbox key on the live API? Use your sandbox key with the sandbox base URL and your live key with the live base URL. Keeping them apart means a test can never be mistaken for real traffic.
Do I need an account to use the sandbox? Yes. The sandbox is available once your account is opened. Open an account to get started.