Ship secure email OTP verification in minutes, not weeks. Built for developers who value simplicity, speed, and zero vendor lock-in.
import { Auth2U } from '@auth2u/sdk';
// Initialize with your secret key
const auth = new Auth2U('af_live_...');
// Send OTP email — it's literally this simple
await auth.otp.sendEmail({
email: 'user@example.com',
type: 'login',
});
// Verify the code entered by user
const isValid = await auth.otp.verify({
email: 'user@example.com',
code: '482931',
});
console.log(isValid); // true ✅
We stripped away the complexity. What's left is a blazing-fast, developer-friendly authentication API that just works.
Average delivery time under 200ms. Our global edge network ensures OTPs arrive instantly, worldwide.
One-time passwords delivered to any inbox. Configurable expiry, rate limiting, and retry logic built-in.
SOC 2 Type II certified. End-to-end encryption. Brute force protection. Your users' data stays safe.
SDKs for JavaScript, Python, Go, Ruby, and PHP. RESTful API with crystal-clear documentation.
No more wrestling with complicated auth libraries or managing your own email infrastructure. Our REST API is intuitive, well-documented, and designed to get out of your way.
from auth2u import Client
# Initialize client
client = Client("af_live_your_secret_key")
# Send OTP to user's email
response = client.otp.email.send(
to="user@company.com",
purpose="verification",
)
print(response.success) # True
print(response.otp_id) # "otp_abc123..."
# Verify when user submits code
verification = client.otp.email.verify(
otp_id=response.otp_id,
code="847291", # User input
)
if verification.valid:
# Grant access! 🎉
grant_session(user)
From startups to enterprises, teams use Auth2U to handle user verification without the headache of building it themselves.
Verify customer identity at checkout to prevent fraud and reduce chargebacks. Seamless integration with existing payment flows.
Meet regulatory requirements for multi-factor authentication. Bank-grade security with audit logs and compliance reporting.
Secure account creation, password resets, and trade confirmations. Keep players safe without interrupting their experience.
Add passwordless login options and enhance existing auth systems. Reduce support tickets related to forgotten passwords by 90%.
HIPAA-compliant patient identity verification. Secure access to medical records and telehealth appointments with full audit trails.
Native SDKs for iOS and Android. Offline-capable verification flows. Deep linking support for seamless UX from email to app.
No hidden fees. No surprise charges. Pay only for what you use. All prices in MYR — because we're built here, for here.
Perfect for side projects and MVPs
Free forever
For growing startups and teams
Billed monthly or RM1,908/year
For large-scale deployments
Tailored to your needs
Have questions about pricing?
Join thousands of developers who've ditched complex auth libraries for something that actually works. Get started in under 5 minutes.