Ask for a code
Send us the mobile number. That is the whole request.
One-time codes by SMS, with the security already built.
Four steps, about ten seconds. Your app makes two calls; Authtext does everything in between.
Send us the mobile number. That is the whole request.
With your business name in the message. We keep only a hash of the code.
10 minutes and 5 attempts. After that the code is dead.
One call back to us.
Start a verification, then check the code. Retries, expiry and rate limits are handled for you.
# 1. send a code (a test key sends nothing)
curl https://api.authtext.com.au/v1/verifications \
-H "Authorization: Bearer $AUTHTEXT_KEY" \
-H "Content-Type: application/json" \
-d '{"to": "+61400000001", "channel": "sms"}'
# 2. check what the user typed
curl https://api.authtext.com.au/v1/verifications/$ID/check \
-H "Authorization: Bearer $AUTHTEXT_KEY" \
-H "Content-Type: application/json" \
-d '{"code": "000000"}'
{ "status": "approved" }
Australian mobiles by default. 5 codes an hour per number and one every 30 seconds, so SMS pumping is blocked from the first request.
10c for each SMS sent. No plans, no monthly fee, and test mode is free.
See pricing →A general SMS platform sends whatever text you give it and leaves the rest to you. Authtext does one job: prove that a person holds a phone number.
| A general SMS platform | Authtext | |
|---|---|---|
| The code | You generate it, store it and compare it yourself. | We generate it, keep only a keyed hash, and check it for you. |
| Expiry and attempts | Yours to build and get right. | Built in: 10 minutes, 5 attempts, and a code works once. |
| Message text | Any text to any number, which is what spammers want. | One fixed verification message with your business name. It cannot send marketing. |
| SMS pumping fraud | You find out on the invoice. | Australian mobiles by default, 5 codes an hour per number, one every 30 seconds. |
| Testing | Real texts to real phones. | Test keys send nothing, with a magic number for every outcome. |
| Phone numbers | Shown in full in logs and dashboards. | Masked everywhere. We store a keyed hash and the last four digits. |
One price in Australian dollars. No plans, no monthly fee and no contract. You pay only for the texts you send.
10c
For every verification text sent with a live key, including a re-send. Checking a code is free.
$0
Test keys send nothing and cost nothing, for as long as you like. So do agent keys, unless you allow them to send.
$50
Your first payment, by card. It buys 500 texts and is yours to use whenever you send.
A code is stored as a keyed hash tied to one verification. While it is pending, an encrypted copy exists so the same code can be re-sent; it is wiped the moment the verification completes.
Phone numbers are never written to logs. The API, the dashboard and every error show a masked form, such as +61*****5678.
An API key is shown when it is created and never again. We keep a hash and the first few characters, and a revoked key stops working at once.
An approved code cannot be used a second time, and 5 wrong guesses lock the verification. Guessing a 6-digit code is not a workable attack.
Every event we send you is signed with a secret only you hold, with a timestamp, so your server can reject anything forged or replayed.
You sign in to the dashboard with a one-time code, so there is no password to leak. Every key and account change is written to an audit log.
A coding agent can integrate Authtext with only the docs and a test key, and it cannot message a real person or spend money by mistake.
{
"error": {
"type": "live_scope_required",
"message": "This key cannot send real messages.",
"fix": "Ask the account owner to turn live sending
on for this agent key, with a daily cap, in the
dashboard under API keys, or remove 'live' from
the request to keep working in test mode.",
"docs_url": "https://authtext.com.au/docs/errors/live_scope_required.md",
"request_id": "req_..."
}
}
type, a one-sentence fix, a docs_url and a request_id on every error.https://mcp.authtext.com.au/mcp with an agent key. Every tool call is written to your audit log. Set it up.+61400000001 | Delivered |
+61400000002 | Delivery fails |
+61400000003 | Rate limited |
+61400000004 | Code expires immediately |
In test mode the code is always 000000.