--- title: "OTP for WhatsApp" slug: "otp-for-whatsapp" description: "Send one-time passcodes for login and account verification over WhatsApp using Insider One's Authentication message templates." tags: ["whatsapp verify api", "whatsapp otp"] updated: 2026-11-18T10:45:17Z published: 2026-11-18T10:45:17Z canonical: "academy.insiderone.com/otp-for-whatsapp" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # OTP for WhatsApp WhatsApp Authentication templates help businesses authenticate users with one-time passcodes, typically comprising 4-8-digit alphanumeric codes, also known as WhatsApp verification codes / two-factor login codes. These codes are utilized across various stages of the login process, including account verification, recovery, and integrity challenges. Sample messages include: - {{1}} is your verification code. - {{1}} is your verification code. For your security, do not share this code. - {{1}} is your verification code. This code expires in 15 minutes. ## Best Practices To optimize OTP usage for WhatsApp: - Confirm the user's WhatsApp phone number before sending the one-time password or code. - Clearly communicate to the user that the password or code will be sent to their WhatsApp phone number, especially if multiple delivery methods are available. For additional guidance, refer to the "[Getting Opt-In](https://developers.facebook.com/docs/whatsapp/overview/getting-opt-in)" article. Before proceeding, create the Authentication template with the WhatsApp Template Management API. See [Create a WhatsApp Template](/v1/docs/create-a-whatsapp-template). Authentication templates cannot be created in the InOne panel. > [!NOTE] > After you create the Authentication template, register it in Verify with the OTP Template Creation API. See [Create an OTP template](/v1/docs/create-otp-template-whatsapp). > > The locale must match the template's language exactly (for example, pt_BR). For further details, you might find these articles helpful: - [Register the OTP template](/v1/docs/register-the-otp-template) - [Generate OTP API Key](/v1/docs/generate-otp-api-key) - [Create a channel](/v1/docs/create-a-channel-whatsapp-otp) - [Update a channel](/v1/docs/update-a-channel-whatsapp-otp) - [Create an OTP template](/v1/docs/create-otp-template-whatsapp) - [Update OTP templates](/v1/docs/update-otp-templates-whatsapp) - [List OTP templates](/v1/docs/list-otp-templates-whatsapp) - [Generate OTP codes](/v1/docs/generate-otp-codes-whatsapp) - [Verify OTP codes](/v1/docs/verify-otp-codes-whatsapp) Refer to [Webhooks for OTP WhatsApp](https://academy.insiderone.com/docs/webhooks-for-otp-whatsapp) to learn how Insider One processes and tracks your OTP WhatsApp messages. ## Related - [Generate OTP Codes](/generate-otp-codes-whatsapp.md) - [Generate OTP API Key](/generate-otp-api-key.md) - [Create a Channel](/create-a-channel-whatsapp-otp.md) - [Register the OTP Template](/register-the-otp-template.md) - [Update OTP Templates](/update-otp-templates-whatsapp.md) - [List OTP Templates](/list-otp-templates-whatsapp.md) - [Verify OTP Codes](/verify-otp-codes-whatsapp.md)