SANDBOX SANDBOX
SANDBOX is a simulated provider that behaves like TRUE at every step, so you can test every case without real SMS. Send through a route pointing at a SANDBOX account (e.g. route: "SANDBOX"); such messages always get operator: "SANDBOX".
Pick the outcome with the last 4 digits of the destination number — nothing to configure. The full walkthrough (admin page, HTTP, SMPP) with what each channel should show is in Test on SANDBOX step by step.
| Ending | On send | DR that follows | Tests |
|---|---|---|---|
| anything else | SUBMITTED | sent → delivered | happy path |
0001 | SUBMITTED | sent → failed code UNDELIVERED | undeliverable |
0002 | SUBMITTED | sent → failed code EXPIRED | expired |
0003 | SUBMITTED | failed providerCode 300 → code SENDER_SUSPENDED | automatic sender suspension at the threshold |
0004 | rejected at once SUBMIT_FAILED (providerCode INVALID_DESTINATION) | none | provider rejects |
0005 | retryable PROVIDER_UNAVAILABLE | none | client retry / DLQ |
0006 | hangs until timeout | none | provider timeout |
0007 | SUBMITTED | no DR at all | Gateway marks it UNKNOWN |
0008 | SUBMITTED | DR arrives before the submit result | early DR matching |
0009 | SUBMITTED | delivered twice, then a late sent | status moves forward only, no duplicate webhook |
0010 | SUBMITTED (hex id) | DR uses the decimal id | id in another base |
0011 | SUBMITTED | delivered, then MO STOP 5 s later | MO / STOP |
0012 | SUBMITTED | delivered after 60 s | slow DR |
0013 | HTTP route: 503 PROVIDER_UNAVAILABLE the first time, sending the same number again succeeds / SMPP route: 503 and the link drops for 5 s | normal after recovery | link status and retry |
Long messages
Over 160 GSM 7-bit or 70 Thai (UCS2) characters is split into parts (153 / 67 characters each). DRs arrive per part; the message status is the worst part: any part failed makes it failed, all parts delivered makes it delivered.
Example: undeliverable
{
"clientRef": "test-undeliverable-01",
"route": "SANDBOX",
"from": "SANDBOX",
"to": "66812340001",
"text": "undeliverable test"
}You get SUBMITTED right away, then a message.status webhook with stage: "sent" followed by stage: "failed", code: "UNDELIVERED".