Sequenzy · Schema

RenderEmailResponse

Email MarketingArtificial IntelligenceSoftware-as-a-ServiceAutomationDeveloper Tools

Properties

Name Type Description
success boolean
html string Email-safe HTML document, rendered exactly as it would be sent.
subject string Subject line with merge tags resolved.
previewText stringnull Inbox preview text with merge tags resolved.
locale string Localization locale the render resolved to.
personalized boolean False means no contact was supplied, so a sample contact was used and contact-specific merge tags resolved to empty values.
trackingApplied boolean Whether auto-UTM link decoration was applied.
unresolvedMergeTags array Merge tags that rendered as an empty string. An unrecognized tag and a recognized but blank one are identical in the HTML, so this is the only way to tell them apart. Empty when every tag resolved.
unevaluatedConditions array Block conditions this render could not decide. Each was rendered as false, the same fail-closed rule a live send uses, so an else branch in the HTML is not evidence that the condition is false for a r
entity object
View JSON Schema on GitHub

JSON Schema

sequenzy-render-email-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sequenzy/json-schema/sequenzy-render-email-response-schema.json",
  "title": "RenderEmailResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sequenzy-campaigns-api-openapi.yml#/components/schemas/RenderEmailResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "html": {
      "type": "string",
      "description": "Email-safe HTML document, rendered exactly as it would be sent."
    },
    "subject": {
      "type": "string",
      "description": "Subject line with merge tags resolved."
    },
    "previewText": {
      "type": [
        "string",
        "null"
      ],
      "description": "Inbox preview text with merge tags resolved."
    },
    "locale": {
      "type": "string",
      "description": "Localization locale the render resolved to."
    },
    "personalized": {
      "type": "boolean",
      "description": "False means no contact was supplied, so a sample contact was used and contact-specific merge tags resolved to empty values."
    },
    "trackingApplied": {
      "type": "boolean",
      "description": "Whether auto-UTM link decoration was applied."
    },
    "unresolvedMergeTags": {
      "type": "array",
      "description": "Merge tags that rendered as an empty string. An unrecognized tag and a recognized but blank one are identical in the HTML, so this is the only way to tell them apart. Empty when every tag resolved.",
      "items": {
        "type": "object",
        "properties": {
          "tag": {
            "type": "string",
            "description": "Tag name as authored, without braces."
          },
          "reason": {
            "type": "string",
            "enum": [
              "unknown",
              "no_value"
            ],
            "description": "unknown - nothing provides this name, so it stays empty for every recipient. no_value - recognized or unverifiable, but blank for this contact. An unknown name is reported even when a default filter supplied text in its place, because that fallback then reaches every recipient while the rendered HTML looks correctly personalized; a recognized name that is merely blank for this contact is not reported when it has a default. A name is only called unknown when the render had a source to check it against. Without the contact's attributes nothing is checkable, since a bare {{plan}} reads the same attribute map as {{subscriber.plan}}, so pass a stored subscriberId or an inline subscriber with customAttributes. Beyond that, event.* needs sample event properties in variables, recommendedProducts.* needs a stored subscriberId the catalog has something to recommend for, and discount.* is only checkable on a sequence step whose incoming paths all run the same discount step. Rendering a transactional email is checkable only when variables is passed, since its tags come from the variables of each send call and carry no prefix marking them. Otherwise those tags land in no_value rather than in unknown. An optional attribute this contact never had set is kept out of unknown by checking the names other contacts in the account carry, which needs the subscribers:read scope; a key without it may report such a name as unknown."
          }
        },
        "required": [
          "tag",
          "reason"
        ]
      }
    },
    "unevaluatedConditions": {
      "type": "array",
      "description": "Block conditions this render could not decide. Each was rendered as false, the same fail-closed rule a live send uses, so an else branch in the HTML is not evidence that the condition is false for a real recipient. Empty when every condition was actually evaluated.",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Condition field, such as tag or segment."
          },
          "operator": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "The condition in the words the dashboard uses."
          },
          "reason": {
            "type": "string",
            "enum": [
              "requires_stored_subscriber",
              "invalid_filter",
              "evaluation_failed"
            ],
            "description": "requires_stored_subscriber - the field reads stored subscriber state, so pass subscriberId, or for a tag condition pass tags on the inline subscriber. invalid_filter - the stored condition is malformed, which fails closed on a real send too; hint carries the validation error. evaluation_failed - the lookup itself failed and the render is worth retrying."
          },
          "hint": {
            "type": "string",
            "description": "What to change to get this condition evaluated."
          }
        },
        "required": [
          "field",
          "operator",
          "value",
          "description",
          "reason",
          "hint"
        ]
      }
    },
    "entity": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "campaign",
            "sequence_step",
            "template"
          ]
        },
        "id": {
          "type": "string"
        },
        "variantId": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "id",
        "variantId"
      ]
    }
  },
  "required": [
    "success",
    "html",
    "subject",
    "previewText",
    "locale",
    "personalized",
    "trackingApplied",
    "unresolvedMergeTags",
    "unevaluatedConditions",
    "entity"
  ]
}

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/sequenzy-render-email-response"
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.