CDP Frontend SDK
    Preparing search index...

    Function verifyEmailOTP

    • Verifies the one-time password (OTP) for the sign in flow with an email.

      Parameters

      Returns Promise<VerifyEmailOTPResult>

      The result of the verification.

      const result = await verifyEmailOTP({
      flowId: "flow-id-from-signInWithEmail",
      otp: "123456" // The OTP received in email
      });