Message Templates
Create and manage WhatsApp message templates for outbound campaigns.
Understanding Templates
WhatsApp requires pre-approved templates for initiating conversations. Templates are categorized by:
Promotions, offers, announcements
Order updates, confirmations
OTPs, verification codes
Template Examples
Promotional content, offers, announcements
promotional_offerHi {{1}}! 🎉 Get {{2}}% OFF on all products this weekend! Use code: {{3}} Shop now at {{4}}
Reply STOP to unsubscribe
new_arrivalHey {{1}}! Check out our latest collection just dropped! 👗✨ Explore: {{2}}
Aerostic Fashion
Approval Status
| Status | Description | Timeline |
|---|---|---|
| PENDING | Template is under Meta review | 24-48 hours |
| APPROVED | Template is ready to use | - |
| REJECTED | Template violates guidelines | Edit and resubmit |
Create Template via API
curl -X POST https://api.aerostic.com/v1/templates \
-H "Authorization: Bearer ak_live_xxxxx" \
-H "Content-Type: application/json" \
-d '{
"name": "order_confirmation",
"category": "UTILITY",
"language": "en",
"components": [
{
"type": "HEADER",
"format": "TEXT",
"text": "Order Confirmed! ✅"
},
{
"type": "BODY",
"text": "Hi {{1}}, your order #{{2}} is confirmed.\n\nTotal: ₹{{3}}\nDelivery: {{4}}"
},
{
"type": "FOOTER",
"text": "Thank you for shopping with us!"
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"text": "Track Order",
"url": "https://example.com/track/{{5}}"
}
]
}
]
}'Template Guidelines
Follow Meta's policies
Templates that violate guidelines will be rejected.
Clear opt-out
Marketing templates must include unsubscribe option
No prohibited content
Avoid gambling, adult content, or illegal products
Variable limits
Maximum 10 variables per template
Character limits
Body: 1024 chars, Header: 60 chars, Footer: 60 chars
Language consistency
Template must match the declared language
No misleading content
Be truthful about offers and claims