Testing & sandbox
Test keys hit a full sandbox that never sends real messages. Use magic numbers to trigger every status and error.
Applies to
v2
How the sandbox works
Every account has a sandbox. Requests made with a test key (fw_test_) run through the same validation, rate limits and webhooks as live traffic, but nothing leaves Fernway and nothing is billed.
Magic numbers
Send to these placeholder numbers to force an outcome without waiting on a carrier:
+15555550100 is delivered within a second.
+15555550101 fails with carrier_rejected.
+15555550102 stays queued for 60 seconds, then is delivered.
Any address at sandbox.fernway.example works the same way for email.
Sandbox webhooks
Webhook endpoints registered in test mode only receive test events. Keep a separate endpoint for each mode so a test event can never touch production data.