OTP tester — send and verify a code online

Walk through the complete OTP flow here, with no account and nothing to install. Enter a number, see the message exactly as it would arrive on the handset, and verify the code — with the real SMSBOX API call shown alongside every step. No real SMS is sent, and that is deliberate: a public form that texts arbitrary numbers gets abused within a day. If you want a real code on your own phone, use free test credits.

The requests and status codes shown here come straight from our own API specification. What you see is exactly what your software will send and receive.

Code length 6 digits
Valid for 10 minutes
Country code plus number, without a plus sign — for example 32470123456. You may type a plus sign; below we show what the API expects.
Use {OTP} as the placeholder for the code. Leave this empty and the API sends its standard text — which is in Dutch, regardless of your account language.
This tester sends no SMS. Everything happens in your browser: the code is generated locally and never leaves your device. That way you can try the flow without us messaging anyone who did not ask for it.
Test a real SMS with free test credits Go to the API documentation

How an OTP flow fits together

1

Request a code

Your application calls the send endpoint with the user's number. SMSBOX generates the code, stores it and sends the message.

2

The user receives it

The message arrives on the handset. In Belgium that averages under five seconds thanks to direct operator connections.

3

Verify the code

The user types the code into your screen and your application submits it to the verify endpoint. That call is free of charge.

4

Handle the answer

Code 11 means verified, code 51 means the code is wrong. After 10 minutes the code has expired and you need to send a new one.

Why we do not send a real SMS here

A public page that texts any number you type into it is a well-known fraud vector. Attackers make such forms send messages in bulk to number ranges whose revenue they share with an operator — SMS pumping. The bill lands with whoever sends the messages, not with them.

That is why real sending always runs through an account with a verified number. You create an account for free, claim test credits and send a real OTP to your own phone. Same flow, same API — just without the open door.

Testing an OTP code in the browser

Frequently asked questions about the OTP tester

No, and that is deliberate. Everything happens in your browser: the code is generated locally and never leaves your device. A public page that sends to any number entered gets used for SMS pumping — fraudsters push traffic to premium numbers whose revenue they share. If you want a real SMS, create a free account and send with test credits to your own verified number.
Six. The code is drawn at random between 100000 and 999999, so it never starts with a zero. The length cannot be configured through the API.
Ten minutes. After that the code has expired and you need to send a new one. That validity period is fixed as well and is not an API parameter.
Code 10 means the code has been sent, code 11 that the number is verified, and code 51 that the OTP entered is not correct. Other common codes: 20 and 21 for problems with the API key, 41 when no number was supplied and 60 when the credit balance is too low.
Yes. Supply your own text in the text parameter and use {OTP} as the placeholder for the code. Leave that parameter out and the API sends its standard text — which is in Dutch.
Sending is charged as a normal SMS message, from €0.06. Verifying the code is completely free. Through WhatsApp an OTP costs 1.4 credits, falling back to SMS when the recipient is unreachable.
With a single POST call to /v2/otp/send containing the user's number, followed by a GET to /v2/otp/verify with the code they entered. Sample code in PHP, Python, Node.js, C#, PowerShell and cURL is in the API documentation.
Trust Guard Security Scanned
Call us
Send an email