Mailchimp · Schema

MessageContent

The full content of a sent message.

CampaignsEmail MarketingMarketing AutomationNewslettersTransactional EmailAudience ManagementSMSE-CommerceWebhookMarketing Analytics

Properties

Name Type Description
ts integer Unix timestamp of when the message was sent.
_id string The unique message ID.
from_email string The sender email address.
from_name string The sender display name.
subject string The message subject line.
to object The primary recipient.
tags array Tags applied to the message.
headers object The full message headers.
text string The plain-text body of the message.
html string The HTML body of the message.
attachments array File attachments included in the message.
View JSON Schema on GitHub

JSON Schema

mailchimp-messagecontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MessageContent",
  "title": "MessageContent",
  "type": "object",
  "description": "The full content of a sent message.",
  "properties": {
    "ts": {
      "type": "integer",
      "description": "Unix timestamp of when the message was sent.",
      "example": 10
    },
    "_id": {
      "type": "string",
      "description": "The unique message ID.",
      "example": "500123"
    },
    "from_email": {
      "type": "string",
      "format": "email",
      "description": "The sender email address.",
      "example": "user@example.com"
    },
    "from_name": {
      "type": "string",
      "description": "The sender display name.",
      "example": "example_value"
    },
    "subject": {
      "type": "string",
      "description": "The message subject line.",
      "example": "example_value"
    },
    "to": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "description": "Recipient email address."
        },
        "name": {
          "type": "string",
          "description": "Recipient display name."
        }
      },
      "description": "The primary recipient.",
      "example": "example_value"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tags applied to the message.",
      "example": []
    },
    "headers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The full message headers.",
      "example": "example_value"
    },
    "text": {
      "type": "string",
      "description": "The plain-text body of the message.",
      "example": "example_value"
    },
    "html": {
      "type": "string",
      "description": "The HTML body of the message.",
      "example": "example_value"
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The attachment file name."
          },
          "type": {
            "type": "string",
            "description": "The MIME type of the attachment."
          },
          "content": {
            "type": "string",
            "description": "Base64-encoded attachment content."
          }
        }
      },
      "description": "File attachments included in the message.",
      "example": []
    }
  }
}

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/mailchimp-messagecontent"
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.