Enable passwordless login with magic links and OTP codes. Let users sign in via email, SMS, or WhatsApp without passwords. Better UX, stronger security, simple integration.
Better for users, better for security
No passwords to remember, create, or reset. Users log in with a single click or code. Reduces friction, increases conversion rates, and improves user satisfaction.
Eliminate password-related breaches. No weak passwords, no password reuse, no credential stuffing attacks. Each login is verified through a secure channel.
Password resets account for 30-50% of support tickets. Passwordless authentication eliminates this burden, freeing your support team for higher-value work.
Perfect for mobile users. No typing complex passwords on small keyboards. Users receive codes directly on the device they're using.
Choose the right method for your users
Send one-time login links via email. Users click the link to authenticate instantly without entering any code.
Send verification codes via email. Users enter the code to log in. Simple, cost-effective, universally supported.
Send codes via SMS to user's phone. Perfect for phone-first applications and regions where mobile is primary access.
Authenticate via WhatsApp codes. Higher open rates and better user experience than SMS in many markets.
Let users choose their preferred method. Automatically fallback between channels to ensure successful authentication.
Customize code length, expiration time, branding, and messaging. Tailor the authentication experience to your brand.
Add passwordless authentication in minutes
// Send login code (email, SMS, or WhatsApp)
const response = await fetch('https://api.sendmator.com/v1/otp/generate', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
identifier: 'user@example.com', // or phone number
channel: 'email', // or 'sms', 'whatsapp'
purpose: 'login'
})
});
const { session_id } = await response.json();
// User receives code and enters it in your login form
// Verify code and authenticate user
const verify = await fetch('https://api.sendmator.com/v1/otp/verify', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
session_id: session_id,
code: userEnteredCode
})
});
const { verified } = await verify.json();
if (verified) {
// Create session and log user in
createUserSession(identifier);
console.log('User authenticated successfully!');
}
Perfect for modern applications
Reduce friction during user onboarding. Let users sign up and log in instantly with passwordless authentication, improving conversion rates.
Speed up checkout process with one-click login. Reduce cart abandonment by eliminating password-related friction at checkout.
Perfect mobile authentication experience. Users receive codes on the same device, making login seamless and intuitive.
Enable quick access to premium content. Magic link login lets users access subscriptions without remembering passwords.
Free credits included. Better UX and security in minutes.