SendPanda · Schema

EmailDesignInput

CompanyEmailTransactionalCommunications

Properties

Name Type Description
version number
preheader string
showLogo boolean
theme object
blocks array
View JSON Schema on GitHub

JSON Schema

sendpanda-email-email-design-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendpanda-email/json-schema/sendpanda-email-email-design-input-schema.json",
  "title": "EmailDesignInput",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendpanda-email-openapi.json#/components/schemas/EmailDesignInput",
  "type": "object",
  "properties": {
    "version": {
      "type": "number",
      "enum": [
        1
      ]
    },
    "preheader": {
      "type": "string",
      "maxLength": 200
    },
    "showLogo": {
      "type": "boolean"
    },
    "theme": {
      "type": "object",
      "properties": {
        "background": {
          "type": "string",
          "pattern": "^#[0-9a-f]{6}$"
        },
        "surface": {
          "type": "string",
          "pattern": "^#[0-9a-f]{6}$"
        },
        "text": {
          "type": "string",
          "pattern": "^#[0-9a-f]{6}$"
        },
        "accent": {
          "type": "string",
          "pattern": "^#[0-9a-f]{6}$"
        },
        "font": {
          "type": "string",
          "enum": [
            "Arial",
            "Georgia",
            "Verdana",
            "Trebuchet MS"
          ]
        },
        "width": {
          "type": "integer",
          "minimum": 480,
          "maximum": 720
        },
        "radius": {
          "type": "integer",
          "minimum": 0,
          "maximum": 32
        }
      },
      "required": [
        "background",
        "surface",
        "text",
        "accent",
        "font",
        "width",
        "radius"
      ],
      "additionalProperties": false
    },
    "blocks": {
      "minItems": 1,
      "maxItems": 60,
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailSectionInput"
      }
    }
  },
  "required": [
    "version",
    "preheader",
    "theme",
    "blocks"
  ],
  "additionalProperties": false,
  "$defs": {
    "EmailComponentInput": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "heading"
              ]
            },
            "text": {
              "type": "string",
              "maxLength": 10000
            }
          },
          "required": [
            "id",
            "type",
            "text"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "text"
              ]
            },
            "text": {
              "type": "string",
              "maxLength": 10000
            }
          },
          "required": [
            "id",
            "type",
            "text"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "image"
              ]
            },
            "src": {
              "type": "string",
              "maxLength": 2048
            },
            "alt": {
              "type": "string",
              "maxLength": 300
            },
            "url": {
              "type": "string",
              "maxLength": 2048
            },
            "width": {
              "type": "integer",
              "minimum": 40,
              "maximum": 720
            }
          },
          "required": [
            "id",
            "type",
            "src",
            "alt",
            "url",
            "width"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "logo"
              ]
            },
            "src": {
              "type": "string",
              "maxLength": 2048
            },
            "alt": {
              "type": "string",
              "maxLength": 300
            },
            "url": {
              "type": "string",
              "maxLength": 2048
            },
            "width": {
              "type": "integer",
              "minimum": 40,
              "maximum": 720
            }
          },
          "required": [
            "id",
            "type",
            "src",
            "alt",
            "url",
            "width"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "button"
              ]
            },
            "text": {
              "type": "string",
              "maxLength": 200
            },
            "url": {
              "type": "string",
              "maxLength": 2048
            },
            "buttonColor": {
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "radius": {
              "type": "integer",
              "minimum": 0,
              "maximum": 32
            }
          },
          "required": [
            "id",
            "type",
            "text",
            "url",
            "buttonColor",
            "radius"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "divider"
              ]
            },
            "height": {
              "type": "integer",
              "minimum": 1,
              "maximum": 8
            }
          },
          "required": [
            "id",
            "type",
            "height"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "spacer"
              ]
            },
            "height": {
              "type": "integer",
              "minimum": 4,
              "maximum": 160
            }
          },
          "required": [
            "id",
            "type",
            "height"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "hero"
              ]
            },
            "src": {
              "type": "string",
              "maxLength": 2048
            },
            "alt": {
              "type": "string",
              "maxLength": 300
            },
            "title": {
              "type": "string",
              "maxLength": 10000
            },
            "text": {
              "type": "string",
              "maxLength": 10000
            },
            "buttonText": {
              "type": "string",
              "maxLength": 200
            },
            "url": {
              "type": "string",
              "maxLength": 2048
            },
            "buttonColor": {
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            }
          },
          "required": [
            "id",
            "type",
            "src",
            "alt",
            "title",
            "text",
            "buttonText",
            "url",
            "buttonColor"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "product"
              ]
            },
            "src": {
              "type": "string",
              "maxLength": 2048
            },
            "alt": {
              "type": "string",
              "maxLength": 300
            },
            "title": {
              "type": "string",
              "maxLength": 10000
            },
            "text": {
              "type": "string",
              "maxLength": 10000
            },
            "price": {
              "type": "string",
              "maxLength": 100
            },
            "buttonText": {
              "type": "string",
              "maxLength": 200
            },
            "url": {
              "type": "string",
              "maxLength": 2048
            },
            "buttonColor": {
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            }
          },
          "required": [
            "id",
            "type",
            "src",
            "alt",
            "title",
            "text",
            "price",
            "buttonText",
            "url",
            "buttonColor"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "code"
              ]
            },
            "text": {
              "type": "string",
              "maxLength": 10000
            }
          },
          "required": [
            "id",
            "type",
            "text"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "coupon"
              ]
            },
            "title": {
              "type": "string",
              "maxLength": 10000
            },
            "text": {
              "type": "string",
              "maxLength": 10000
            },
            "code": {
              "type": "string",
              "maxLength": 100
            },
            "url": {
              "type": "string",
              "maxLength": 2048
            },
            "buttonText": {
              "type": "string",
              "maxLength": 200
            },
            "buttonColor": {
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            }
          },
          "required": [
            "id",
            "type",
            "title",
            "text",
            "code",
            "url",
            "buttonText",
            "buttonColor"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "list"
              ]
            },
            "items": {
              "minItems": 1,
              "maxItems": 12,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 1000
              }
            }
          },
          "required": [
            "id",
            "type",
            "items"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "social"
              ]
            },
            "links": {
              "minItems": 1,
              "maxItems": 6,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "label": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 50
                  },
                  "url": {
                    "type": "string",
                    "maxLength": 2048
                  }
                },
                "required": [
                  "label",
                  "url"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "id",
            "type",
            "links"
          ],
          "additionalProperties": false
        }
      ]
    },
    "EmailSectionInput": {
      "anyOf": [
        {
          "$ref": "#/$defs/EmailComponentInput"
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,80}$"
            },
            "align": {
              "default": "left",
              "type": "string",
              "enum": [
                "left",
                "center",
                "right"
              ]
            },
            "padding": {
              "default": 24,
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "background": {
              "default": "#ffffff",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "color": {
              "default": "#24382e",
              "type": "string",
              "pattern": "^#[0-9a-f]{6}$"
            },
            "fontSize": {
              "default": 16,
              "type": "integer",
              "minimum": 10,
              "maximum": 64
            },
            "bold": {
              "default": false,
              "type": "boolean"
            },
            "italic": {
              "default": false,
              "type": "boolean"
            },
            "type": {
              "type": "string",
              "enum": [
                "columns"
              ]
            },
            "left": {
              "maxItems": 12,
              "type": "array",
              "items": {
                "$ref": "#/$defs/EmailComponentInput"
              }
            },
            "right": {
              "maxItems": 12,
              "type": "array",
              "items": {
                "$ref": "#/$defs/EmailComponentInput"
              }
            }
          },
          "required": [
            "id",
            "type",
            "left",
            "right"
          ],
          "additionalProperties": false
        }
      ]
    }
  }
}

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/sendpanda-email-email-design-input"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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