MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

Message Template → Create

AI-generated

Summary

Create a message template for the selected account using its name, category, language, and WhatsApp template content. Optionally set the channel type, associate an inbox, choose the parameter format, and provide a status.

Inputs

  • Account (required) — Select an account from the list or provide its numeric ID.
  • Name (required) — Template name; the field description specifies lowercase letters and underscores only.
  • Category (required) — Template category: Authentication, Marketing, or Utility. Defaults to Utility.
  • Language (required) — Template language code, such as en_US, es, or pt_BR. Defaults to en_US.
  • Content (JSON) (required) — JSON object containing the WhatsApp template structure.
  • Additional Fields — Optional channel type (defaults to Channel::Whatsapp), inbox association, parameter format (defaults to Positional), and status (defaults to Approved).

Output shape

A single API response object for the created template.

The source pack shows the create operation and content parsing helper, but not their function bodies, so the exact response envelope and content normalization are not visible.

Links

Discussion