HubSpot · JSON Structure

Hubspot Marketing Emal Email Message Structure

The email message configuration

Type: object Properties: 6 Required: 1
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

EmailMessage is a JSON Structure definition published by HubSpot, describing 6 properties, of which 1 is required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

to from sendId replyTo cc bcc

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "The email message configuration",
  "name": "EmailMessage",
  "properties": {
    "to": {
      "type": "email",
      "description": "The recipient's email address"
    },
    "from": {
      "type": "email",
      "description": "Override the from address (must be verified)"
    },
    "sendId": {
      "type": "string",
      "description": "A unique ID to prevent duplicate sends"
    },
    "replyTo": {
      "type": "array",
      "description": "Reply-to email addresses",
      "items": {
        "type": "email"
      }
    },
    "cc": {
      "type": "array",
      "description": "CC email addresses",
      "items": {
        "type": "email"
      }
    },
    "bcc": {
      "type": "array",
      "description": "BCC email addresses",
      "items": {
        "type": "email"
      }
    }
  },
  "required": [
    "to"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}