Use template messages for notifications, reminders, and official campaigns.

Request

curl -X POST "https://api.wazapin.id/v1/messages" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_id": "wzp_wu8f3k2p",
    "to": "6281234567890",
    "type": "template",
    "template": {
      "template_name": "order_update",
      "language": "id",
      "components": [
        {
          "type": "body",
          "parameters": [
            {"type": "text", "text": "INV-2026-001"}
          ]
        }
      ]
    }
  }'

Notes

  • type must be template.
  • Use a template that already exists and is approved in your channel provider.
  • Official and unofficial channels are supported. On unofficial channels, template content can be rendered as fallback text.