politicalcomms-com · Schema

EmailTemplate

A reusable email design in the organization's template library.

CompanyPoliticalMessagingSMSRCSCampaigns

Properties

Name Type Description
id string
name string
description stringnull
content object
thumbnail_url stringnull Preview image rendered by a background job. Null until it has run.
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

politicalcomms-com-email-template-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/politicalcomms-com/json-schema/politicalcomms-com-email-template-schema.json",
  "title": "EmailTemplate",
  "description": "A reusable email design in the organization's template library.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/politicalcomms-com-email-templates-api-openapi.yml#/components/schemas/EmailTemplate",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2000
    },
    "content": {
      "$ref": "#/$defs/EmailTemplateContent"
    },
    "thumbnail_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Preview image rendered by a background job. Null until it has run."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "name",
    "content"
  ],
  "additionalProperties": true,
  "$defs": {
    "EmailTemplateContent": {
      "type": "object",
      "properties": {
        "subject": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 900
        },
        "preheader": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "html": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 2097152
        },
        "text": {
          "type": [
            "string",
            "null"
          ],
          "description": "Plain-text alternative. Generated from the HTML when omitted.",
          "maxLength": 512000
        },
        "editor": {
          "type": "string",
          "enum": [
            "html",
            "document"
          ],
          "description": "`html` for a template imported or hand-written as HTML; `document` for one built in the dashboard's document editor. Both are returned as rendered HTML here. This surface only accepts HTML content on create. Updating the `content` of a `document` template returns `409 CONFLICT` with `details.reason` set to `TEMPLATE_IS_DOCUMENT`: edit it in the dashboard, or convert it to an HTML template first."
        }
      },
      "description": "The renderable body of a template.",
      "additionalProperties": true
    }
  }
}

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/politicalcomms-com-email-template"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.