{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frontapp/json-schema/frontapp-create-shared-message-template-schema.json",
  "title": "CreateSharedMessageTemplate",
  "description": "A message template that is used for pre-written responses",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frontapp-message-templates-api-openapi.yml#/components/schemas/CreateSharedMessageTemplate",
  "type": "object",
  "required": [
    "name",
    "body"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the message template"
    },
    "subject": {
      "type": "string",
      "description": "Subject of the message template."
    },
    "body": {
      "type": "string",
      "description": "Body of the message template. You can supply HTML with inline CSS to structure and style your template."
    },
    "folder_id": {
      "type": "string",
      "description": "ID of the message template folder to place this message template in"
    },
    "inbox_ids": {
      "type": "array",
      "description": "The specific inboxes this template is available in. If unspecified or null, then it will be available in all inboxes. Array should be non-empty.",
      "items": {
        "type": "string"
      }
    },
    "attachments": {
      "description": "Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://dev.frontapp.com/docs/attachments-1).  Max 25 MB.",
      "type": "array",
      "items": {
        "type": "string",
        "format": "binary"
      }
    }
  }
}