template_create
Create content templates for your brand with placeholders for hooks and CTAs. Supports bulk creation via the templates array for multiple templates in one call.
Instructions
Create one or more content templates for the brand. Pass a single template object, or pass the 'templates' array param for bulk creation. If both are supplied, 'templates' (bulk) takes precedence. Returns the created template record(s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Template body with placeholders, e.g. '[HOOK] … [CTA]' (required for single creation). | |
| title | No | Template title (required for single creation). | |
| brandId | No | Brand ID (defaults to active brand) | |
| example | No | An example post filled in using this template. | |
| pattern | No | The rhetorical or structural pattern described in plain language. | |
| category | No | Category label (e.g. 'hook', 'thread', 'cta'). | |
| platforms | No | Platforms this template is best suited for (e.g. ['x', 'linkedin']). | |
| templates | No | Bulk-create multiple templates in one call. Overrides the single-template fields when present. | |
| isFavorite | No | Mark as favorite to surface it first in template lists. |