BRANDED EMAIL OTP & MAGIC LINKS

Email OTP API with branded templates & BYO SMTP.

Send high-deliverability 6-digit Email OTP codes and 1-click passwordless Magic Links with DKIM/SPF alignment, automatic blocking of 120+ disposable burner email domains, and Bring-Your-Own Amazon SES / SMTP support.

5,000/mo
Free Email OTPs on Paid Plans
120+
Burner Email Domains Blocked
100
Free Starter Test Email OTPs
BYO SMTP
SES, SendGrid, Postmark & Custom

Send Branded Email OTPs & Passwordless Magic Links

Stop maintaining Redis TTLs, bcrypt hashes, rate limiters, and HTML email templates yourself—ship Email 2FA in two calls.

POST https://api.authly.space/api/v1/otp/send
import Authly from 'authly-otp';

const authly = new Authly(process.env.AUTHLY_API_KEY);

// 1. Send Branded Email OTP
const { otpId } = await authly.otp.send({
  to: 'developer@company.com',
  channel: 'email',
  purpose: 'login',
});

// 2. Or dispatch a 1-click Passwordless Magic Link
await authly.magicLink.send({
  to: 'developer@company.com',
  channel: 'email',
  redirectUrl: 'https://yourapp.com/auth/callback',
});

Authly Email OTP API vs. DIY Email Verification

Everything required for secure, spam-resistant inbox authentication out of the box.

CapabilityAuthly Email OTP APIDIY SMTP + Custom Code
OTP Hashing & ExpirySalted bcrypt + automatic TTL + single-use lockBuild & maintain Redis/DB TTL logic
Brute-Force Protection5-attempt lockout + 60s resend cooldown built-inCustom rate-limit middleware required
Burner Email DefenseBlocks 120+ disposable temp-mail domainsMaintain & update blocklists manually
Branded Email TemplatesVisual Branded Email Studio with live previewHand-code responsive Outlook/Gmail HTML
Bring Your Own SMTPPlug in Amazon SES, SendGrid, Postmark, or SMTPManage credentials & TLS retries yourself
Magic Links & FailoverBuilt-in /magic-link + WhatsApp/Telegram fallbackSeparate auth flows & vendors required
BUILT FOR PRODUCTION

Engineered for Inbox Placement & Zero Abuse

Branded Email OTP Template Studio

Customize your company name, logo URL, brand accent color, subject line, and support footer with a real-time inbox preview inside the dashboard.

Bring Your Own SMTP / Amazon SES

Send from your own verified domain via Amazon SES, SendGrid, Postmark, or custom SMTP—or start instantly with Authly’s managed DKIM/SPF-aligned relay.

Disposable Email Blocker

Enable blockDisposableEmails to automatically reject signups from 120+ temporary and burner inbox providers before wasting credits or polluting your user table.

1-Click Passwordless Magic Links

Prefer link-based login over 6-digit codes? Call POST /api/v1/otp/magic-link to deliver signed single-use sign-in links via Email or WhatsApp.

5,000 Free Email OTPs Every Month

Pro ($29/mo), Growth ($59/mo), and Custom Wallet top-ups include 5,000 free monthly Email OTPs, making email fallback virtually free at scale.

Unified Multi-Channel API

Use Email as a standalone verification channel or as an automatic fallbackChannel whenever a phone-based WhatsApp or Telegram OTP cannot be delivered.

Launch Branded Email OTP Verification in 3 Steps

STEP 01

Customize Branding or Connect SMTP

Start immediately on Authly’s managed email infrastructure, or configure your logo, colors, and optional custom SMTP credentials in the dashboard.

STEP 02

Send OTPs or Magic Links

Call POST /api/v1/otp/send with channel: "email" (or /api/v1/otp/magic-link) using your x-api-key header or the official authly-otp SDK.

STEP 03

Verify Securely on Your Backend

Validate the user’s 6-digit code with POST /api/v1/otp/verify and let Authly enforce attempt locks, expiry, and single-use consumption.

FREQUENTLY ASKED QUESTIONS

Email OTP API Frequently Asked Questions

The free Starter tier includes 100 Email OTPs for testing (plus 7 WhatsApp and 7 Telegram OTPs). All paid plans (Pro, Growth, and Custom Wallet top-ups) include 5,000 free Email OTPs per month.

Ship branded Email OTPs & Magic Links in 5 minutes

Start with 100 free test Email OTPs and unlock 5,000 free monthly Email OTPs on any paid plan.