EmailPreview
An email rendered for one customer exactly as they would receive it, without sending it.
Properties
| Name | Type | Description |
|---|---|---|
| object | string | |
| subject | string | The subject with its variables filled in. |
| preview_text | string | The inbox preview line with its variables filled in, or empty. |
| html | string | The whole email, layout included. Its unsubscribe link is a placeholder that unsubscribes nobody. |
| data_source | string | Whose data filled the variables: `none` (no `customer_id`, so every variable uses its default), `customer` (their details as they are now), `enrollment` (a sequence step for someone enrolled: what the |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-email-preview-schema.json",
"title": "EmailPreview",
"description": "An email rendered for one customer exactly as they would receive it, without sending it.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/crevio-co-broadcasts-api-openapi.yml#/components/schemas/EmailPreview",
"type": "object",
"properties": {
"object": {
"type": "string",
"enum": [
"email_preview"
]
},
"subject": {
"type": "string",
"description": "The subject with its variables filled in."
},
"preview_text": {
"type": "string",
"description": "The inbox preview line with its variables filled in, or empty."
},
"html": {
"type": "string",
"description": "The whole email, layout included. Its unsubscribe link is a placeholder that unsubscribes nobody."
},
"data_source": {
"type": "string",
"enum": [
"none",
"customer",
"enrollment",
"latest_order",
"no_order"
],
"description": "Whose data filled the variables: `none` (no `customer_id`, so every variable uses its default), `customer` (their details as they are now), `enrollment` (a sequence step for someone enrolled: what they joined with), `latest_order` (not enrolled, so product and order variables come from their latest order) or `no_order` (not enrolled and no order, so those variables are blank)."
}
},
"required": [
"object",
"subject",
"preview_text",
"html",
"data_source"
]
}
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
curl "https://apis.io/api/v1/json-schemas/crevio-co-email-preview"
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.