Gallabox Docs
ChangelogHow To GuidesAPI DocsStatus pageVisit our websiteFeedback
Gallabox Docs
Gallabox Docs
  • Welcome to Gallabox Docs
  • 🆕Get Started
    • Pre-requisites
    • Signup
    • Explore Demo Account
    • Activate Free Trial
  • ✅Connect WhatsApp Channel
    • Connect your WhatsApp
    • Meta Business Verification
    • Apply for WhatsApp Blue Tick
    • Migrate to Gallabox
    • Messaging Limits & Quality Ratings
    • Gallabox Account Setup FAQs
  • 🈁CONVERSATIONS
    • Gallabox Conversations Glossary
    • Team Inbox
    • Initiate a New Chat
    • Compose Box
    • Inboxes
    • Manage Inbox
    • Views
    • Efficiently using inbox
    • Gallabox Conversations FAQs
  • 📘CONTACTS
    • Gallabox Contact Glossary
    • Add Contact
    • Contact Segments
    • Contact Management
    • Contact Updation
    • Contact Deletion
    • Export Contacts
    • Marketing Opt-In
      • Marketing opt-in on contact creation
      • Marketing opt-in Handling Methods
      • Marketing opt-out Management
  • 🤖BOTS
    • Gallabox Bot Glossary
    • Things to know before building your first bot
    • Bot Essentials
    • Bot in Gallabox
      • Create a Bot using AI
      • Create a Bot using Bot Templates
      • Create a Bot from Scratch
    • Flow in the Bot
      • AI Based Flow
      • CTWA Ad Based Flow
    • Send Card
      • Send Text
      • Send Media
      • Send Collection
      • Send Products
      • Send Voice
      • Send Template
      • Send Form
      • Send Location
      • Send Payments
    • Ask Questions
      • Ask Text
      • Ask Number
      • Ask Phone
      • Ask Email
      • Ask Date
      • Ask Location
      • Ask Address
      • Ask URL
      • Ask File
      • Ask Button Option
      • Ask List Option
      • Ask Keyword Option
      • Ask Collection List
      • Ask Form
      • Ask Payments
    • Bot Utilities
      • Send Button Option
      • Send List Option
      • Delay
      • Condition
      • Set Variable
      • Jump to
      • Switch
      • AI node - GPT Dialog
      • AI node - GPT Knowledge Base
      • Working hours
      • Hint
      • Wait for order
    • Bot Actions
      • Assign Conversation
      • Unassign Conversations
      • Resolve Conversations
      • Update Conversation Fields
      • Update Contact Fields
      • Update Company Fields
      • Push to Sequence
      • Add Note & Mention
      • Conversion Events
    • Bot Connectors
      • Connect your system with the WhatsApp chat bot using API
      • Connect WhatsApp and Google Sheets to Collect Responses
      • Send payment links via WhatsApp chatbot using Razorpay integration
      • Send your WhatsApp data to Zoho CRM using Chatbot
      • Connect Shopify and WhatsApp to collect orders using chatbot
      • Send your WhatsApp data to HubSpot using Chatbot
      • Send your WhatsApp data to Zoho Bigin using Chatbot
      • Send your WhatsApp data to Leadsquared using Chatbot
      • Send your WhatsApp data to WooCommerce using Chatbot
      • Connect ChatGPT with WhatsApp in Gallabox Chatbot
      • Zoom WhatsApp Integration - How to enable webinar registration on WhatsApp
      • Send your WhatsApp data to Sangam CRM using Chatbot
      • Send payment links via WhatsApp chatbot using PhonePe
      • Send Payment links via WhatsApp Chatbot using Stripe
      • Enhance Chatbot with ElevenLabs AI Voice Synthesis
      • Send your WhatsApp data to Pipedrive CRM using Chatbot
      • Send your WhatsApp data to PetPooja using Chatbot
    • Set up Default Bot
    • Bot Management
    • Gallabox Bot FAQs
  • 🔊BROADCAST
    • Gallabox Broadcast
    • Select Template
    • Select Audience
    • Review and Send Broadcast
    • Broadcast Analytics and Report
    • Gallabox Broadcast FAQs
  • 🔢WHATSAPP DRIP CAMPAIGNS
    • Understanding Drip Marketing
    • Basics of Drip Campaign
    • Create New Drip Campaign
    • Drip Campaign Setup
    • Drip Campaign Message Management
    • Campaign Management Options
    • Drip Campaign Analytics
    • Gallabox WhatsApp Drip Marketing FAQs
  • 📈AD CAMPAIGNS
    • CTWA in Gallabox
    • Create your Campaign
    • Click To WhatsApp Analytics
    • CAPI Integration
    • Gallabox CTWA FAQs
  • 🛒WHATSAPP SHOP
    • Gallabox WhatsApp Shop Overview
    • Connect the Catalog with Meta
    • Connect Catalog with Gallabox
    • WhatsApp Order Summary
    • Gallabox WhatsApp Shop FAQs
  • 🪙PAYMENTS
    • Gallabox Native Payments Overview
    • Establish Connection
    • Sending Payment Links
    • Tracking Payments
    • Gallabox Native Payment FAQs
  • 🔃WhatsApp Forms
    • Gallabox WhatsApp Forms Overview
    • Create WhatsApp Forms
      • Create WhatsApp Forms in Gallabox
      • Create WhatsApp Forms with Template Builder
      • Create WhatsApp Forms using JSON
    • Sending a WhatsApp Form
      • Send WhatsApp Form in a Message Template
      • Send WhatsApp Form in a Bot
    • Receiving Response of WhatsApp Forms
    • Best Practices for WhatsApp Forms
    • Gallabox WhatsApp Forms FAQS
  • ℹ️WHATSAPP CHANNEL
    • Channel Settings
    • Manage your Connections
    • Widget for your website
    • Configuration Message Settings
    • WhatsApp Magic Link
    • Block List
    • User Mapping
    • Assignments Rules
    • Compliance Info
    • Account Profile Info
    • WhatsApp Channel FAQs
    • WhatsApp Business API Errors
  • 🚧INTEGRATION
    • E-commerce Platforms
      • Shopify
        • Shopify Template Variables for WhatsApp Messages
        • Workflows for Shopify
      • WooCommerce
        • Workflows for WooCommerce
      • WooCommerce Cart Abandonment Recovery
      • Shopflo
    • Customer Relationship Management (CRM) Systems
      • HubSpot
        • Workflows for HubSpot
      • Kylas
        • Workflows for Kylas
      • Zoho CRM & Signals
        • Workflows for Zoho
      • Leadsquared
        • Workflows for LeadSquared
      • Sangam
      • Pipedrive
      • Odoo
    • Shipping and Logistics
      • ShipRocket
        • Workflows for ShipRocket
      • Shipway
        • Workflows for Shipway
    • Payment Gateways
      • Cashfree
        • Workflows for Cashfree
      • Razorpay
        • Workflows for Razorpay
      • Stripe
        • Stripe Workflows
    • Marketing and Engagement Platforms
      • WebEngage
        • WebEngage WhatsApp Campaigns
      • MoEngage
      • Facebook Leads
        • Send Automated Messages on WhatsApp to Facebook Leads
        • Send Sequence of Messages to Facebook Leads
      • CleverTap
      • Fyno
    • Other Integrations
      • Generic Webhooks
      • Google Sheets
      • Pabbly
      • Zapier
      • Zoho Books
        • Zoho Books Notifications
        • Workflow for Zoho Books
      • Calendly
        • Workflows for Calendly
      • Miitel
    • Gallabox Integration FAQs
  • ⚙️ACCOUNT MANAGEMENT
    • Account Essentials
    • User Details
    • User, Teams, and Roles
    • Account Details
  • 💰Pricing & Billing Modules
    • Conversation Pricing
    • New Per-Message Pricing — Effective July 1, 2025
    • Message Credits
    • Billing & Subscriptions
    • FAQs
  • 🚾Web-Chat Channel
    • Web-Chat Channel
  • 🧰Basic Modules
    • WhatsApp Templates
      • Template Creation and Editing
      • Re-write with AI
      • Custom Marketing and Utility Templates
      • Product Marketing Templates
      • Authentication Templates
      • Limited-Time Offer Templates
      • Order Details Template
      • Coupon Code WhatsApp Template
      • Carousel Template
      • WhatsApp template URL tracking
      • FAQs - WhatsApp Template Messages
    • Contact Fields
    • Conversation Fields
    • Tags
    • Message Tracker
    • Canned Responses
  • 🔒Account Security Features
    • Allowed IPs
    • Activity Log
    • Two Factor Authentication
  • 👨‍💻DEVELOPER RESOURCES
    • API Key and Secret
    • API Docs
    • Webhook
    • Conversation Widget
  • 📊REPORTS & ANALYTICS
    • Dashboard
    • WhatsApp Failed Messages
    • WhatsApp Notification Messages
    • Conversation Report
  • Privacy and Security
    • Data Security and Infra
    • Subprocessors
    • Data Processing Agreement
  • 👾EXTRAS
    • WhatsApp Business API - Unsupported Messages
    • Understanding Message Delivery Issues on WhatsApp
    • WhatsApp’s New Per-user Messaging Limits
  • Frequently Asked Questions
Powered by GitBook
On this page
  • Authentication Template Requirements
  • Buttons
  • Creating Authentication Templates
  • Creating Authentication Templates
  1. Basic Modules
  2. WhatsApp Templates

Authentication Templates

PreviousProduct Marketing TemplatesNextLimited-Time Offer Templates

Last updated 7 months ago

Authentication templates enables businesses to authenticate users with one-time passcodes (usually 4-8 digit alphanumeric codes), occurring at multiple steps in the login process (e.g., account verification, account recovery, integrity challenges).

If your application offers users the option to receive one-time passwords or verification codes via WhatsApp, you must use an authentication template.

It is appropriate to use an authentication template when providing an authentication code to the user.

Sample for Authentication WhatsApp template Message

  • "{{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."

Authentication Template Requirements

Authentication templates include optional add-ons like security disclaimers and expiry warnings. In addition, authentication templates must have a one-time password button (copy code or one-tap). The presets in the authentication message template fixed text are:

  • Fixed preset text: <VERIFICATION_CODE> is your verification code.

  • An optional security disclaimer: For your security, do not share this code.

  • An optional expiration warning: This code expires in <NUM_MINUTES> minutes.

  • Either a one-tap autofill button, a copy code button, or no button at all if using zero-tap.

URLs, media, and emojis are not supported. Since authentication templates with OTP buttons only consist of preset text and buttons, their risk of being paused is minimized.

Buttons

Authentication templates must include either a copy code or one-tap autofill button. Buttons behave differently when tapped by a user:

  • A copy code button copies the one-time password or code to the user's clipboard. The user can then manually switch to your app and paste the password or code into your app's interface.

  • A one-tap autofill button automatically loads and passes your app the one-time password or code.

Handshake and App Signing Hash

One-tap buttons are the preferred solution as they offer the best user experience. However, one-tap buttons are currently only supported on Android, requires changes to your application in order to perform a "handshake" with Meta, and your app's signing key hash.

Creating Authentication Templates

To create an authentication Whatsapp template,

  1. Go to WhatsApp Templates under Settings in Gallabox left navigation. Click on "+Create New Template".

  1. Provide the WhatsApp template name, choose the category as "Authentication Template", allow category change as "No", choose the WhatsApp Channel in Gallabox, and choose the language in which you want to send the WhatsApp Template.

  1. Choose how customers can send the code from WhatsApp to your app - Zero Tap Setup, One-Tap Setup or by copying code. if you go with Zero-Tap setup or One-Tap setup, you will need to set up the app. Below are the details on how you could do that:

Config
Description
Sample Value

<PACKAGE_NAME>

Your Android app's package name.

'com.example.myapplication'

<SIGNATURE_HASH>

'K8a%2FAINcGX7'

  1. For Content, check the box to add the security information and provide a time limit to use the OTP.

  1. You can customize the button text for both autofill and copy code. Even when zero-tap is turned on, buttons are still needed for the backup code delivery method.

  1. Once everything is done, submit the WhatsApp Template for approval. The WhatsApp Template will be approved by META within 24 hours.

Creating Authentication Templates

Authentication template can be sent only via Bot and Dev API.

Users can only send the authentication template to recipients within their own country; attempts to send it internationally will fail.

Your app signing key hash. See Meta's Official documentation for .

🧰
App Signing Key Hash