Email Blocks
List email block types
Lists every block type accepted by the blocks array on campaigns, sequence email steps, templates, transactional emails, and email components, with the required and optional fields of each. Derived from the same schemas that validate a write, so it cannot drift from what those endpoints accept.
get/email-blocks
Query parameters
creatableOnly'true'
Hide structural block types the editor manages for you.
Response
Block types listed
Example response
{
"success": true,
"blockTypes": [
{
"type": "steps",
"required": [
"items",
"variant"
],
"optional": [
"id",
"accentColor",
"styles",
"conditions"
],
"fields": [
{
"name": "variant",
"type": "enum",
"values": [
"numbered",
"timeline"
]
}
]
}
]
}