Mailchimp · Schema

Mailchimp Template

A Mailchimp email template. Templates are reusable email layouts that can be used across campaigns. They can be user-created, base templates provided by Mailchimp, or gallery templates. Templates support drag-and-drop editing, responsive design, and custom HTML.

CampaignsEmail MarketingMarketing AutomationNewslettersTransactional EmailAudience ManagementSMSE-CommerceWebhookMarketing Analytics

Properties

Name Type Description
id integer The individual ID for the template.
type string The type of template (user, base, or gallery).
name string The name of the template.
drag_and_drop boolean Whether the template uses the drag and drop editor.
responsive boolean Whether the template contains media queries to make it responsive.
category string If available, the category the template is listed in.
date_created string The date and time the template was created in ISO 8601 format.
date_edited string The date and time the template was edited in ISO 8601 format.
created_by string The login name of the template's creator.
edited_by string The login name of who last edited the template.
active boolean User templates are not deleted but rather marked as inactive. Returns whether the template is still active.
folder_id string The ID of the folder the template is currently in.
thumbnail string If available, the URL for a thumbnail of the template.
share_url string The URL used for template sharing.
content_type string How the template's content is put together. 'template' for legacy editor, 'multichannel' for new editor, 'html' for code-your-own.
html string The raw HTML source of the template. Available when fetching individual template content.
sections object A dictionary of content sections within the template. Keys are section names, values are the HTML content. Only available for templates with editable content areas.
View JSON Schema on GitHub

JSON Schema

template.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-search/messaging/mailchimp/json-schema/template.json",
  "title": "Mailchimp Template",
  "description": "A Mailchimp email template. Templates are reusable email layouts that can be used across campaigns. They can be user-created, base templates provided by Mailchimp, or gallery templates. Templates support drag-and-drop editing, responsive design, and custom HTML.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The individual ID for the template.",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "The type of template (user, base, or gallery).",
      "enum": ["user", "base", "gallery"],
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "The name of the template."
    },
    "drag_and_drop": {
      "type": "boolean",
      "description": "Whether the template uses the drag and drop editor.",
      "readOnly": true
    },
    "responsive": {
      "type": "boolean",
      "description": "Whether the template contains media queries to make it responsive.",
      "readOnly": true
    },
    "category": {
      "type": "string",
      "description": "If available, the category the template is listed in.",
      "readOnly": true
    },
    "date_created": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the template was created in ISO 8601 format.",
      "readOnly": true
    },
    "date_edited": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the template was edited in ISO 8601 format.",
      "readOnly": true
    },
    "created_by": {
      "type": "string",
      "description": "The login name of the template's creator.",
      "readOnly": true
    },
    "edited_by": {
      "type": "string",
      "description": "The login name of who last edited the template.",
      "readOnly": true
    },
    "active": {
      "type": "boolean",
      "description": "User templates are not deleted but rather marked as inactive. Returns whether the template is still active.",
      "readOnly": true
    },
    "folder_id": {
      "type": "string",
      "description": "The ID of the folder the template is currently in."
    },
    "thumbnail": {
      "type": "string",
      "format": "uri",
      "description": "If available, the URL for a thumbnail of the template.",
      "readOnly": true
    },
    "share_url": {
      "type": "string",
      "format": "uri",
      "description": "The URL used for template sharing.",
      "readOnly": true
    },
    "content_type": {
      "type": "string",
      "description": "How the template's content is put together. 'template' for legacy editor, 'multichannel' for new editor, 'html' for code-your-own.",
      "enum": ["template", "multichannel", "html"],
      "readOnly": true
    },
    "html": {
      "type": "string",
      "description": "The raw HTML source of the template. Available when fetching individual template content."
    },
    "sections": {
      "type": "object",
      "description": "A dictionary of content sections within the template. Keys are section names, values are the HTML content. Only available for templates with editable content areas.",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": ["name"],
  "additionalProperties": true
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/template"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.