get_template_default_content
Get the default HTML content of a user-created Mailchimp template to customize it before sending campaigns.
Instructions
Retrieve the default HTML content of a template for use in campaign content.
Use to extract a template's HTML before customizing it with set_campaign_content. Only works for user-created templates; gallery templates may return limited content. Use list_templates to find template IDs.
Authenticated via API key. Max 10 concurrent requests. Read-only, safe to retry. Returns 404 error if template_id is invalid.
Args: template_id: Template ID (numeric string, e.g. '12345'). Obtain from list_templates.
Returns: JSON with html (string, full HTML content), sections (object with editable content blocks).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |