---
title: "Authentication template"
description: "An authentication template is the WhatsApp template category reserved for one-time passwords and verification codes. It uses fixed preset text plus a one-tap autofill, copy-code or zero-tap option, and Meta does not allow URLs, media or emojis in it."
canonical: "https://omnichannels.ai/glossary/authentication-template/"
language: "en"
updated: "2026-10-18"
publisher: "BroadNet Technologies"
brand: "OmniChannels.ai"
---

# Authentication template

Canonical: https://omnichannels.ai/glossary/authentication-template/
Language: en
Publisher: OmniChannels.ai by BroadNet Technologies

**Definition:** An authentication template is the WhatsApp template category reserved for one-time passwords and verification codes. It uses fixed preset text plus a one-tap autofill, copy-code or zero-tap option, and Meta does not allow URLs, media or emojis in it.

Meta’s documentation states that if an app sends one-time passwords or verification codes via WhatsApp, it must use an authentication template. The body is fixed text (“<code> is your verification code.”), with an optional security disclaimer and an optional expiry warning. Meta does not allow URLs, media or emojis in this category, and it reviews the template like any other.

There are three delivery styles. One-tap autofill passes the code into the business’s Android app when the user taps the button. Copy code copies the code to the clipboard so the user can paste it. Zero-tap lets the app capture the code with no tap at all. Meta’s documentation also describes keyboard suggestions on iOS 26 and later, where iOS offers the code from the notification.

To use one-tap or zero-tap, the template must reference the Android app’s package name and signature hash, so the app can match the message. Copy code works for any app, website or iOS flow, so it is the most universal option when the user must type the code elsewhere.

Authentication messages have linked-device security: they are delivered only to the user’s primary WhatsApp device. In some markets Meta also applies a separate authentication-international rate, so check Meta’s pricing documentation before routing OTP traffic across borders. We do not print rates here; use Meta’s current rate card or our WhatsApp pricing pages.

A secure OTP flow generates the code on your server, stores only what you need to verify it, sets a short expiry (a few minutes), allows a small number of attempts and rate-limits requests per number and device. The template carries the code; it does not verify it. Never log codes in plain text or reuse them.

WhatsApp OTP is often paired with SMS or voice OTP as fallback, because not every user has WhatsApp installed or reachable. Confirm the user’s number first, tell the user which channel the code will arrive on, and trigger the fallback only after a defined delay or a delivery failure, to avoid sending two codes at once.

Common mistakes are putting marketing text in an authentication template (Meta may recategorise or reject it), using long expiry times, forgetting the fallback and not protecting the request endpoint. Open requests for any phone number can be abused for SMS pumping-style fraud on WhatsApp as well, so apply per-country limits.

OmniChannels.ai supports authentication templates with one-tap, zero-tap and copy-code buttons through BroadNet’s WhatsApp Business API access, with phone preview and approval tracking. WhatsApp is charged at Meta’s rate with zero markup.

## Example

```
"482913 is your verification code. For your security, do not share this code. This code expires in 10 minutes." [Copy code]
```

## Sources

- [Authentication templates — Meta for Developers](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/authentication-templates/authentication-templates)
- [Template categorization — Meta for Developers](https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/template-categorization)