Test mode
With an at_test_ key, or an at_agent_ key that has not been granted live sending, nothing is sent, nothing is billed and the code is always 000000. Test mode is free and has no rate limits.
curl https://api.authtext.com.au/v1/verifications \
-H "Authorization: Bearer $AUTHTEXT_KEY" \
-H "Content-Type: application/json" \
-d '{"to": "+61400000002", "channel": "sms"}'
Magic numbers
Send to these with a test key to see each outcome. Any other valid number behaves like the first.
| Number | What happens |
|---|---|
+61400000001 |
The verification is created; check it with 000000 |
+61400000002 |
Created, and its delivery is marked failed |
+61400000003 |
Refused with 429 rate_limited and retry_after of 42 |
+61400000004 |
Created already expired, so a check returns expired |
What is the same as live
Request and response shapes, ids, statuses, errors, webhooks and the list, timeline and usage endpoints. A key sees only verifications made in its own mode.
What is different
The delivery field is simulated, the code is fixed, live limits and credit checks do not apply, and usage shows 0 billable units.
To insist on a real message, send "live": true. A key in test mode then answers live_scope_required instead of quietly simulating.
This page as markdown, for an AI agent: /docs/test-mode.md