One-time passcodes (OTP) let you verify users by sending a short code over SMS or WhatsApp. OTPs are a good fit for passwordless login, phone verification, and step-up authentication when you need an additional factor.Documentation Index
Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
How OTPs work
- Collect the user’s phone number and request a passcode.
- The user enters the code they receive.
- Your app verifies the code and optionally establishes a session.
Next steps
API integration
Send and authenticate OTPs from your backend.
SDK integration
Add OTPs to Stytch Login with the frontend SDK.