Developer tools
SMS OTP
Add an SMS verification step to sign-in or an action in your app. A fixed template sends a single code to one mobile.
Walkthrough
Step by step
Create a key with OTP permission and choose an approved sender.
Generate a code of 1–8 ASCII letters or digits in your app.
Submit one international mobile, sender, template language and code to the OTP endpoint. Choose from 20 languages.
Save the submission ID and enforce code expiry and verification attempts in your own app.
Implementation guide
Connect your application
Generate the code in your application and select the template language and sender. Each request targets one mobile. Reuse the same idempotency key when retrying the same request.
POST /api/v2/otp{
"sender": "YourBrand",
"to": "+447700900123",
"language": "en",
"code": "839378"
}Reporting & follow-up
What you can see
The fixed message fits one part and receives priority when dispatch chooses the next item. Track its ID to distinguish admission, sending acceptance and any handset receipt.
Questions & answers
Frequently asked questions
Who verifies the code entered by the user?
Your app generates, validates and expires the code. The messaging API delivers it in the selected template.