SendGrid · Schema

Transactional Templates: Template

EmailEmail APIMarketing EmailSMTPT1Transactional EmailEmail MarketingDeliverabilityMarketing

Properties

Name Type Description
id string The ID of the transactional template.
name string The name for the transactional template.
generation string Defines the generation of the template.
updated_at string The date and time that this transactional template version was updated.
versions array The different versions of this transactional template.
warning object
View JSON Schema on GitHub

JSON Schema

sendgrid-transactional-template-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-transactional-template-schema.json",
  "title": "Transactional Templates: Template",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-templates-api-openapi.yml#/components/schemas/TransactionalTemplate",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the transactional template.",
      "minLength": 36,
      "maxLength": 36,
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "description": "The name for the transactional template.",
      "maxLength": 100
    },
    "generation": {
      "type": "string",
      "description": "Defines the generation of the template.",
      "$ref": "#/$defs/Generation1"
    },
    "updated_at": {
      "type": "string",
      "description": "The date and time that this transactional template version was updated.",
      "pattern": "^(\\d{4}-\\d{2}-\\d{2}) ((\\d{2}):(\\d{2}):(\\d{2}))$"
    },
    "versions": {
      "type": "array",
      "description": "The different versions of this transactional template.",
      "items": {
        "$ref": "#/$defs/TransactionalTemplatesVersionOutputLean"
      }
    },
    "warning": {
      "$ref": "#/$defs/TransactionalTemplateWarning"
    }
  },
  "required": [
    "generation",
    "id",
    "name",
    "updated_at"
  ],
  "$defs": {
    "Active1": {
      "type": "integer",
      "enum": [
        0,
        1
      ]
    },
    "Editor1": {
      "type": "string",
      "enum": [
        "code",
        "design"
      ]
    },
    "Generation1": {
      "type": "string",
      "enum": [
        "legacy",
        "dynamic"
      ]
    },
    "TransactionalTemplateWarning": {
      "title": "Warning",
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "Warning message for the user"
        }
      }
    },
    "TransactionalTemplatesVersionOutputLean": {
      "title": "Transactional Templates: Version Output Lean",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the transactional template version.",
          "format": "uuid"
        },
        "template_id": {
          "type": "string",
          "description": "ID of the transactional template."
        },
        "active": {
          "type": "integer",
          "description": "Set the version as the active version associated with the template. Only one version of a template can be active. The first version created for a template will automatically be set to Active.",
          "$ref": "#/$defs/Active1"
        },
        "name": {
          "type": "string",
          "description": "Name of the transactional template version.",
          "maxLength": 100
        },
        "subject": {
          "type": "string",
          "description": "Subject of the new transactional template version.",
          "maxLength": 255
        },
        "updated_at": {
          "type": "string",
          "description": "The date and time that this transactional template version was updated."
        },
        "generate_plain_content": {
          "type": "boolean",
          "description": "If true, plain_content is always generated from html_content. If false, plain_content is not altered.",
          "default": true
        },
        "html_content": {
          "type": "string",
          "description": "The HTML content of the Design."
        },
        "plain_content": {
          "type": "string",
          "description": "Plain text content of the Design."
        },
        "editor": {
          "type": "string",
          "description": "The editor used in the UI.",
          "$ref": "#/$defs/Editor1"
        },
        "thumbnail_url": {
          "type": "string",
          "description": "A Thumbnail preview of the template's html content."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sendgrid-transactional-template"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.