Skip to content

Message templates overview

Understand WhatsApp message template categories, approval flows, variables, and sending rules.

Wazapin allows you to send pre-approved message templates to customers. Message templates are required when you want to initiate a new conversation or message a customer outside the active 24-hour customer service window.


When to use templates

Use templates for business-initiated updates, alerts, and transactional messages:

Category Typical use cases Examples
Authentication One-Time Passwords (OTPs) and account verification. "Your verification code is 482910."
Utility Post-purchase notifications, shipping alerts, billing reminders, and updates. "Your order #1032 has been shipped! Track it here: {{1}}."
Marketing Promotional offers, newsletters, and welcome messages. "Get 20% off our summer collection. Click to claim: {{1}}"

Creation and approval flow

Before you can send a template, it must be created and approved by Meta (for official channels).

graph TD
    A[Create template in Wazapin dashboard] --> B[Submit to Meta for review]
    B --> C{Approved?}
    C -->|Yes| D[Status: Approved - Ready to send]
    C -->|No| E[Status: Rejected - Modify & resubmit]
  1. Create: Design your template body, define variables (e.g. {{1}}, {{2}}), and add optional headers (text or media) or interactive buttons.
  2. Review: Wazapin automatically submits your template to Meta. Review times typically take between a few minutes and a few hours.
  3. Sync: Once approved, the template status updates to approved. You can also synchronize templates programmatically via POST /v1/templates/sync.

Variable substitution

Templates support dynamic components using parameter placeholders (like {{1}}). When sending a template via the API, you must pass the exact list of variables corresponding to the placeholders in the order they were defined.

For example, a utility template body: Hi {{1}}, your order #{{2}} is ready.

Requires passing two text parameters:

  1. {{1}} -> "Ayu"
  2. {{2}} -> "29420"

Next steps

Navigation

Type to search…

↑↓ navigate↵ selectEsc close