API Docs / Schemas / ContentBlockReference

ContentBlockReference

Generic container for passing dynamic content blocks with variables and metadata to templates.
This allows templates to render content blocks with additional context (e.g., price, frequency).

Properties

Name Type Description
contentBlockstring

The code of the content block to render.

The code of the content block to render.

varsobject

Variables to pass to the content block template.
These become available in the content block's template context.
Example: { "price": 1000, "billingFrequency": "Monthly" }

Variables to pass to the content block template.
These become available in the content block's template context.
Example: { "price": 1000, "billingFrequency": "Monthly" }

metaobject

Optional metadata for additional context (not passed to template).
Can be used for conditional logic or tracking purposes.

Optional metadata for additional context (not passed to template).
Can be used for conditional logic or tracking purposes.

JSON Example

{
  "contentBlock": "string",
  "vars": {},
  "meta": {}
}

Contained in Schemas