Guide
Verify users with OTP
Drop in one-time-passcode verification across SMS and email.
1
Start a verification
Call the verify API to send a one-time code to a phone number or email address. Delivery is rate-limited and fraud-aware out of the box.
2
Collect the code
Prompt the user for the code in your app — the same flow works whether it arrived by SMS or email.
3
Confirm it
Send the code back to the verify API to confirm. A few lines of integration replace a surprisingly fiddly security feature you'd otherwise build and maintain yourself.
Ready to build?
Create a free account and follow along.