Skip to navigation

Send OTP to email

Sends a 4-digit OTP to the provided email for sign-in or sign-up.

Request

This endpoint expects an object.
emailstringRequiredformat: "email"

Response

OTP sent successfully
successbooleanOptional
messagestringOptional
expiresIndoubleOptional
OTP expiration time in seconds
isNewUserbooleanOptional
Whether this email belongs to a new user
onboardingCompletebooleanOptional

Whether the user has completed onboarding (only included when isNewUser is false)

otpstringOptional

OTP code (only included in development mode for testing purposes)

Errors

429
Too Many Requests Error