WhatsApp
How to send WhatsApp OTP Messages?
2 min
why whatsapp otp? businesses use one time passwords (otps) to verify user identity during logins, online purchases, and other transactions because of the added security it provides, many businesses are using whatsapp for otp verification and 2fa the traditional sms otp implementation may be vulnerable to some attacks and security flaws whatsapp otp is the ideal alternative because of the following factors end to end encrypted; encrypted between the business endpoint and the user’s device high delivery rates lower cost than sms otp ( ildo / international sms ) ability to track and be notified when identity/ownership changes for phone numbers on whatsapp easy integration with a chatbot for helping users with authentication steps to send otp messages via whatsapp business api prerequisites you have a phone number enabled with whatsapp business api at exotel ( if you do not have an whatsapp business account you can write to hello\@exotel in or call us at 08088 919 888 to enable your whatsapp number) you have access to the meta business manager dashboard for template whitelisting you already have a mechanism to generate & detect otps step 1 whitelist an otp message template in your waba using the meta business manager dashboard in your whatsapp business account (waba) dashboard, navigate to the “ message templates ” section and click on “ create message templates ” select the “one time password” template category enter a name for the template select the language(s) you want to use for the otp message click on continue construct your message template as per your liking by utilizing the header, footer, and body options available more details on template creation are here submit the template for approval step 2 sending the otp template message via whatsapp api make a post request to /messages endpoint with your approved otp template in step 1 replace the variable placeholder for otp with an otp generated from your system for tracking the delivery status of messages, follow the steps mentioned here
🤔
Have a question?
Our knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.