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:

MARKETING

Promotions, offers, announcements

UTILITY

Order updates, confirmations

AUTHENTICATION

OTPs, verification codes

Template Examples

Promotional content, offers, announcements

promotional_offer

Hi {{1}}! 🎉 Get {{2}}% OFF on all products this weekend! Use code: {{3}} Shop now at {{4}}

Reply STOP to unsubscribe

new_arrival

Hey {{1}}! Check out our latest collection just dropped! 👗✨ Explore: {{2}}

Aerostic Fashion

Approval Status

StatusDescriptionTimeline
PENDINGTemplate is under Meta review24-48 hours
APPROVEDTemplate is ready to use-
REJECTEDTemplate violates guidelinesEdit and resubmit

Create Template via API

create-template.sh
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