To legally build a WhatsApp contact list, you must obtain explicit consent from individuals before adding them. This can be done through opt-in forms on your website, during purchase processes, or via other marketing channels.