Mailchimp · Schema

MessageContent

The full content of a sent message.

CampaignsEmail MarketingMarketing AutomationNewslettersTransactional Email

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-transactional-message-content-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "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."
    },
    "_id": {
      "type": "string",
      "description": "The unique message ID."
    },
    "from_email": {
      "type": "string",
      "description": "The sender email address."
    },
    "from_name": {
      "type": "string",
      "description": "The sender display name."
    },
    "subject": {
      "type": "string",
      "description": "The message subject line."
    },
    "to": {
      "type": "object",
      "description": "The primary recipient."
    },
    "tags": {
      "type": "array",
      "description": "Tags applied to the message."
    },
    "headers": {
      "type": "object",
      "description": "The full message headers."
    },
    "text": {
      "type": "string",
      "description": "The plain-text body of the message."
    },
    "html": {
      "type": "string",
      "description": "The HTML body of the message."
    },
    "attachments": {
      "type": "array",
      "description": "File attachments included in the message."
    }
  }
}