What are Templates?
Templates are pre-approved message models by Meta for sending via WhatsApp Business API (Gupshup). They are required to initiate conversations or re-engage leads after the 24-hour window.Marketing
Promotions, news, and campaigns
Utility
Transactional notifications, confirmations, reminders
How It Works
Create template in Gupshup
Configure the template in the Gupshup dashboard with desired components (header, body, footer, buttons).
Wait for Meta approval
Templates must be approved by Meta before use. Possible statuses:
APPROVED, PENDING, REJECTED.Template Model
Template Status
| Status | Description |
|---|---|
APPROVED | Approved by Meta, ready to use |
PENDING | Awaiting Meta review |
REJECTED | Rejected by Meta (needs adjustment) |
Categories
| Category | Use |
|---|---|
MARKETING | Promotions, offers, engagement |
UTILITY | Confirmations, reminders, updates |
AUTHENTICATION | Verification codes, login |
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /backend/templates | List templates |
GET | /backend/templates/{id} | Get template |
DELETE | /backend/templates/{id} | Delete template |
POST | /backend/templates/sync | Sync templates from Gupshup |