ReferenceAsk
Remy Reference/Interface SDK/Auth/auth.sendEmailCode

auth.sendEmailCode

Send a 6-digit sign-in code to an email address.
auth.sendEmailCode(email) { verificationId }

Start the email-code flow. Returns a verificationId to pass to verifyEmailCode. Throws email_not_allowed or disposable_email_blocked when platform signup restrictions apply.

Parameters
email
string
RequiredThe email address to send the code to.
Usage
const { verificationId } = await auth.sendEmailCode('user@example.com');