Verification via WhatsApp
Last updated
Was this helpful?
Last updated
Was this helpful?
Using WhatsApp to deliver a one-time password (OTP) to assist with user authentication.
Send OTP messages via WhatsApp to their device. This experience is similar to receiving SMS OTP, and even on Android phones, the OTP code can be retrieved directly from the English WhatsApp message, allowing users to receive the code without leaving the application.
As a verification channel, it has the same advantages as SMS and is not affected by local carrier infrastructure. This means WhatsApp messages can be received in areas where there is Wi-Fi but weak or no cellular signal (such as remote areas or on airplanes). WhatsApp is usually faster than SMS and is end-to-end encrypted, providing additional security.
WhatsApp also offers more security advantages: Each WhatsApp user can be identified by the unique phone number provided when creating an account. WhatsApp uses its own set of robust anti-fraud tools to verify these phone numbers. This means you outsource part of the authentication work to WhatsApp.
In many countries, WhatsApp is cheaper than SMS and can help you save money without charging for unsent messages. In India, Indonesia, and South America, we recommend using WhatsApp as the preferred verification channel because it can improve your overall verification conversion rate and is cheaper.
Now use YCloud verification instead of building it from scratch, start sending OTP immediately, with no message quantity or industry restrictions, and send through pre-approved WhatsApp shared phone numbers.
Use the send verification code API, with the channel specified as WhatsApp.
Verify the verification like any other channel.
The cost of sending messages varies by country where the verification message is sent, and there are no additional fees. WhatsApp only charges for successful messages, and you do not pay for failed or undelivered messages.
Using WhatsApp to send OTP is a new approach, and we provide some UI design suggestions:
Default to sending OTP via WhatsApp Send via SMS immediately if WhatsApp fails (likely because the target phone number has not yet registered a personal WhatsApp account).
Your audience is mainly in countries with high WhatsApp coverage, such as Indonesia, India, Brazil, and Colombia.
Provide button options for receiving OTP message channels, allowing users to choose their own OTP receiving channel.
Your audience is in countries with insufficient WhatsApp coverage, or your application covers many countries.
OTP is sent via WhatsApp by default. If it fails, it is resent via SMS immediately.
To improve user experience and default to using WhatsApp, you can determine if the user has the WhatsApp app installed on the same device running your application. Here is an implementation example for WhatsApp detection on Android:
If your use case is OTP delivery, we strongly recommend using the YCloud Verification WhatsApp API, as it is the solution built specifically for it. If you want to develop more personalized messaging use cases using WhatsApp, you can choose the .