Test safely with the developer sandbox
Use the sandbox to exercise client code without sending a real SMS or charging production credits. It is account-isolated, API-key-only, provider-free, and intended for integration tests and developer consoles.
The sandbox is not a delivery-latency test. It simulates accepted, rejected, and transport-error outcomes.
Capabilities
curl https://api.sendafrica.online/v1/sandbox/capabilities \
-H "X-API-Key: $SENDAFRICA_API_KEY"Create a simulated message
curl -X POST https://api.sendafrica.online/v1/sandbox/messages \
-H "X-API-Key: $SENDAFRICA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"to":"0712345678","message":"Sandbox test"}'Sandbox responses are marked as sandbox data and do not affect real credits, provider routes, or production message logs. Treat sandbox IDs as test data and do not mix them with production records.
Last updated on