Sequenzy · Schema
EmailBodyInput
Email MarketingArtificial IntelligenceSoftware-as-a-ServiceAutomationDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| html | string | Raw HTML body. Provide either html or blocks, not both. |
| blocks | array | Structured email blocks. Provide either blocks or html, not both. Put visual styling under styles; top-level style keys such as backgroundColor, backgroundOpacity, borderColor, borderWidth, and border |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sequenzy/json-schema/sequenzy-email-body-input-schema.json",
"title": "EmailBodyInput",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sequenzy-a-b-tests-api-openapi.yml#/components/schemas/EmailBodyInput",
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "Raw HTML body. Provide either html or blocks, not both."
},
"blocks": {
"type": "array",
"description": "Structured email blocks. Provide either blocks or html, not both. Put visual styling under styles; top-level style keys such as backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius are normalized into styles.",
"items": {
"$ref": "#/$defs/EmailBlock"
}
}
},
"$defs": {
"EmailBlock": {
"type": "object",
"description": "Email content block. The shape depends on the block type. Any block may carry a `conditions` array so it renders only for matching recipients, the structural `group` type wraps children in Stack, Row, Grid, or Overlay layout, and `conditional-group` adds if/else branching via `ifBranch` and `elseBranch` (each an object with a `children` array).",
"required": [
"type"
],
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"text",
"html",
"heading",
"list",
"button",
"spacer",
"divider",
"image",
"columns",
"group",
"conditional-group",
"repeat",
"card",
"cta",
"social",
"logo",
"header",
"footer",
"video",
"product",
"discount-code",
"code",
"countdown",
"hero",
"testimonial",
"gallery",
"badge",
"table",
"features",
"image-card",
"pricing",
"author",
"article",
"rating",
"stats",
"steps",
"product-grid",
"poll"
]
},
"content": {
"type": "string",
"description": "Content for text, html, and heading-like blocks."
},
"label": {
"type": "string",
"maxLength": 120,
"default": "Group",
"description": "Editor label for a structural group block."
},
"layout": {
"type": "string",
"enum": [
"stack",
"row",
"grid",
"overlay"
],
"default": "stack",
"description": "Direct-child layout for a structural group block."
},
"columns": {
"type": "integer",
"minimum": 1,
"maximum": 4,
"default": 2,
"description": "Number of columns used by a group with grid layout."
},
"gap": {
"type": "integer",
"minimum": 0,
"maximum": 64,
"default": 16,
"description": "Gap in pixels between direct group children."
},
"stackOnMobile": {
"type": "boolean",
"default": true,
"description": "Columns block only. Multi-column rows stack into a single column on screens 480px wide or narrower. Set to false to keep the columns side by side on mobile. Omit or set to true for the default stacking."
},
"padding": {
"type": "integer",
"minimum": 0,
"maximum": 64,
"default": 0,
"description": "Uniform group padding in pixels; per-side styles.padding* fields override it."
},
"overlayColor": {
"type": "string",
"default": "#000000",
"description": "Opaque fallback and shade color for an overlay group."
},
"overlayShade": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"default": 35,
"description": "Overlay shade intensity as a percentage."
},
"overlayPosition": {
"type": "string",
"enum": [
"top",
"center",
"bottom"
],
"default": "center",
"description": "Vertical position of overlay foreground content."
},
"children": {
"type": "array",
"minItems": 1,
"maxItems": 100,
"description": "Recursive child blocks for group and repeat containers.",
"items": {
"$ref": "#/$defs/EmailBlock"
}
},
"styles": {
"type": "object",
"description": "Per-block visual styles. For compatibility, style fields such as backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius can also be supplied at the block top level and are normalized into this object.",
"additionalProperties": false,
"properties": {
"paddingTop": {
"type": "number"
},
"paddingBottom": {
"type": "number"
},
"paddingLeft": {
"type": "number"
},
"paddingRight": {
"type": "number"
},
"backgroundColor": {
"type": "string"
},
"backgroundOpacity": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Background opacity percentage from 0 to 100."
},
"textColor": {
"type": "string"
},
"textAlign": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"keepAlign": {
"type": "boolean",
"description": "Keep a centered button, logo or footer centered when the email is left-aligned (layout.contentAlign left). Without it a left email moves these blocks left; right always stays."
},
"borderRadius": {
"type": "number"
},
"borderColor": {
"type": "string"
},
"borderWidth": {
"type": "number"
},
"bleed": {
"type": "boolean",
"description": "Stretch the block edge-to-edge across the email container. Top-level blocks only."
}
}
},
"conditions": {
"type": "array",
"description": "Optional per-block display rules. The block renders only when every rule matches. The same shape is used for a conditional-group block's top-level `conditions`.",
"items": {
"type": "object",
"required": [
"id",
"field",
"operator",
"value"
],
"properties": {
"id": {
"type": "string"
},
"field": {
"type": "string",
"enum": [
"variable",
"attribute",
"email",
"firstName",
"lastName"
],
"description": "`variable` resolves a merge-tag path from the transactional send `variables` or an automation `event` payload (nested paths like `order.total` or `event.plan` work). `attribute` reads a stored subscriber attribute. `email`, `firstName`, and `lastName` read core subscriber fields."
},
"operator": {
"type": "string",
"enum": [
"is",
"is_not",
"contains",
"not_contains",
"gt",
"gte",
"lt",
"lte",
"is_empty",
"is_not_empty"
]
},
"value": {
"type": "string",
"description": "For `variable` and `attribute`, use `name:value` - the part before the colon is the variable path or attribute name, and the part after it is the comparison value. For `email`, `firstName`, and `lastName`, provide the plain comparison string."
}
}
}
}
},
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sequenzy-email-body-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.