Contexts
| Context | Purpose | Next Step |
|---|---|---|
EMAIL_VERIFICATION | Verify email after sign-up (also used for resend) | Email Verification |
MAGIC_AUTH | Passwordless login | Sign In Magic Auth |
RESET_PASSWORD | Reset password | Reset Password |
Flow
Send OTP
Call Send OTP with
recipient and context. Returns otpId.Validate OTP
Call Validate OTP with
otpId in path, plus recipient, context, and code. Returns 204.Recipient
Therecipient field accepts either an email address or phone number.