Skip to content

CreateEmailTemplateV2Request

Type: object

Request body for creating an email template. appData must include at least one of: folderId or workspaceId.

Properties

Property Type Required Description Constraints
name string Yes
description string No
appData model: AppDataDTO Yes
data model: DataDTO No
editorContext model: EditorContextDto No

Generated example

{
  "name": "Example name",
  "description": "string",
  "appData": {
    "editorType": "string",
    "folderId": "123",
    "workspaceId": "123"
  },
  "data": {
    "html": {
      "body": "string"
    },
    "text": {
      "body": "string",
      "syncFromHtml": true
    }
  },
  "editorContext": {
    "dynamicContent": {}
  }
}

Referenced models

Source

Generated from swagger-asset.json.