Skip to main content
Effortlessly integrate secure OTP (One-Time Password) functionality into your business processes with the WhatsApp Cloud API. This guide will walk you through creating and testing a message template for OTPs, ensuring seamless and reliable communication with your customers.

Step 1: Connect Your WhatsApp Cloud API

  • Click**“Connect.”**

Step 2: Enable WhatsApp Login

  • Once your WhatsApp API is successfully connected, go to the Social Login dashboard.
  • Enable “Login with WhatsApp”. Then click “Set up OTP settings” to configure OTP.
Enable WhatsApp toggle and click “Set up OTP settings”## Step 3: Activate or Create a Message Template
  • Click “Active OTP Template”. Choose from the list of existing templates or select “Create new template”.
  • Choose existing template or click “Create new template.”

Step 4: Fill in Template Details

  • Enter the required fields.
__wf_reserved_inherit
  • You can see a preview of the message template according to the language you selected on the right.
__wf_reserved_inherit Note: Template Name: Use only lowercase letters and underscores (e.g. otp_login_template)

Step 5: Save Your Template

  • Click Save template.
Click “Save template”Note: Template approval by Meta takes 1–3 days.

Step 6: Test Your Template

  • Log in to your store and select “Continue with WhatsApp”. Enter your number and request an OTP.
  • Enter phone number and click “Request OPT”.
Congratulations! 🎉 Your OTP message template is now successfully created and integrated.
I