Skip to main content
Authentication templates require your WhatsApp Business Account to meet both conditions:
  • Business verification — your Meta Business Portfolio must be verified
  • Messaging limit of 2,000 or higher — your WABA’s messaging limit must be Tier 1 (2K) or above
Authentication templates have a fixed body text generated by Meta: *{{1}}* is your verification code. You can’t customize the body text, but you can:
  • Add a security recommendation: “For your security, do not share this code.”
  • Add code expiration: “This code expires in X minutes.”

OTP types

Create copy code template

The most common type. Shows a “Copy code” button.

Create one-tap template (Android)

Auto-fills the code in your Android app. Requires your app’s package name and signature hash.
Get your Android app’s signature hash:

Create zero-tap template

No visible button. The code is broadcast to your app via Android’s SMS Retriever API.

Send

When sending, pass the OTP code in both the body and button parameters.

Component reference

Body

OTP button

Restrictions

  • No headers - AUTHENTICATION templates cannot include HEADER components
  • Fixed body text - Body text is generated by Meta, not customizable
  • No custom parameters - Only the OTP code can be passed as a variable