Skip to content

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.

EndingOn sendDR that followsTests
anything elseSUBMITTEDsent → deliveredhappy path
0001SUBMITTEDsent → failed code UNDELIVEREDundeliverable
0002SUBMITTEDsent → failed code EXPIREDexpired
0003SUBMITTEDfailed providerCode 300 → code SENDER_SUSPENDEDautomatic sender suspension at the threshold
0004rejected at once SUBMIT_FAILED (providerCode INVALID_DESTINATION)noneprovider rejects
0005retryable PROVIDER_UNAVAILABLEnoneclient retry / DLQ
0006hangs until timeoutnoneprovider timeout
0007SUBMITTEDno DR at allGateway marks it UNKNOWN
0008SUBMITTEDDR arrives before the submit resultearly DR matching
0009SUBMITTEDdelivered twice, then a late sentstatus moves forward only, no duplicate webhook
0010SUBMITTED (hex id)DR uses the decimal idid in another base
0011SUBMITTEDdelivered, then MO STOP 5 s laterMO / STOP
0012SUBMITTEDdelivered after 60 sslow DR
0013HTTP route: 503 PROVIDER_UNAVAILABLE the first time, sending the same number again succeeds / SMPP route: 503 and the link drops for 5 snormal after recoverylink 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 ​

json
{
  "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".