Actions67
- Account Actions
- Action Actions
- Analytics Actions
- Block Number Actions
- Campaign Actions
- Campaign Group (Release Group) Actions
- Direct Message Actions
- Group Actions
- Media Actions
- Message Template Actions
- Template Folder Actions
- Variable Actions
- Verification Actions
- Workflow (Preset) Actions
Message Template → Create
AI-generatedSummary
Create a message template
Inputs
- title (required) — Title of the template (e.g. Template de boas-vindas)
- template (required) — Array of messages defining the template; supports extendedTextMessage, imageMessage, videoMessage, audioMessage, documentMessage
- archived — Whether the template is archived
- folderId — ID of the folder to place the template in
- intervalRangeType — Interval range type; currently only "none" is available
- intervalRange — JSON array [min,max] defining interval range (currently unused)
Output shape
a single created message template object
Returns the API response containing the new template's fields; on failure an error envelope is returned
Examples
Example 1: Create a welcome template
Title: Boas-vindas; Template: [{"type":"extendedTextMessage","message":{"text":"Olá, {{nome}}!"}}]; Additional Fields left default
