Authentication Templates (OTP)
Authentication templates are special templates designed for sending verification codes (OTP — One-Time Password) to your customers. These are used for login verification, account signup, password resets, etc.
How Authentication templates are different
When you select Authentication as the category, the template creation process is simplified:
| Feature | Regular Templates | Authentication Templates |
|---|---|---|
| Template Type selection | Yes | Not needed (auto-configured) |
| Parameter Format selection | Yes | Not needed (auto-configured) |
| Manual component building | Yes | Auto-generated |
| Footer | Optional, user-written | Auto-generated with expiration |
| Buttons | User choice | Auto-added (Copy Code) |
Creating an Authentication Template
Step 1: Basic Info
- Enter a Template Name (e.g.,
login_otp,signup_verification) - Select Authentication as the category
- Choose the Language
That's it for basic info — Template Type and Parameter Format are handled automatically.
2. Notice that Template Type and Parameter Format fields disappear
3. Capture the Basic Info section showing only Name, Category, and Language
Save to:
static/img/screenshots/templates/authentication-templates/auth-basic-info.pngStep 2: Automatic Setup
The system automatically creates:
Body message (in your selected language):
{{1}}is your verification code.
Optional security line (you can toggle this on):
Do not share this code with anyone.
Footer (auto-generated):
This code expires in X minutes.
Button:
Copy Code (lets the customer copy the OTP with one tap)
2. Capture the auto-generated components area showing body text, security toggle, expiration, and Copy Code button
Save to:
static/img/screenshots/templates/authentication-templates/auth-auto-generated-components.pngStep 3: Configuration
You need to set:
- Code expiration time — How many minutes the code is valid for (e.g., 5 minutes, 10 minutes)
- Security recommendation — Toggle on/off the "Do not share this code" line
Step 4: Submit
Click Create Template to submit for WhatsApp review.
Multi-Language Support
Authentication templates come with pre-built translations for 50+ languages. When you select a language, the body text, security recommendation, and footer are automatically translated.
Examples:
| Language | Body Text |
|---|---|
| English | {{1}} is your verification code. |
| Hindi | {{1}} आपका सत्यापन कोड है। |
| Tamil | {{1}} உங்கள் சரிபார்ப்புக் குறியீடு. |
| Spanish | {{1}} es tu codigo de verificacion. |
| Arabic | {{1}} هو رمز التحقق الخاص بك. |
You don't need to manually translate OTP messages. Just pick the language and the system does it for you.
How the OTP flow works (for your customer)
1. Customer tries to log in / sign up
↓
2. Your system generates an OTP (e.g., 847291)
↓
3. Your system sends the Authentication template
with {{1}} = "847291"
↓
4. Customer receives the WhatsApp message:
"847291 is your verification code.
Do not share this code with anyone.
This code expires in 5 minutes."
↓
5. Customer taps "Copy Code" button → OTP is copied
↓
6. Customer pastes it in your app → Verified!