Iterable · Schema

EmailTemplate

An email template

Cross-Channel MessagingCustomer EngagementEmailMarketing AutomationPush NotificationsSMS

Properties

Name Type Description
templateId integer Template ID
name string Template name
subject string Email subject line
preheaderText string Email preheader text
html string HTML content of the template
plainText string Plain text content of the template
fromName string From name for the email
fromEmail string From email address
replyToEmail string Reply-to email address
createdAt string Template creation date
updatedAt string Template last update date
View JSON Schema on GitHub

JSON Schema

iterable-emailtemplate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmailTemplate",
  "title": "EmailTemplate",
  "type": "object",
  "description": "An email template",
  "properties": {
    "templateId": {
      "type": "integer",
      "description": "Template ID"
    },
    "name": {
      "type": "string",
      "description": "Template name"
    },
    "subject": {
      "type": "string",
      "description": "Email subject line"
    },
    "preheaderText": {
      "type": "string",
      "description": "Email preheader text"
    },
    "html": {
      "type": "string",
      "description": "HTML content of the template"
    },
    "plainText": {
      "type": "string",
      "description": "Plain text content of the template"
    },
    "fromName": {
      "type": "string",
      "description": "From name for the email"
    },
    "fromEmail": {
      "type": "string",
      "format": "email",
      "description": "From email address"
    },
    "replyToEmail": {
      "type": "string",
      "format": "email",
      "description": "Reply-to email address"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Template creation date"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Template last update date"
    }
  }
}