Email Blocks
List email block types
Changed onLists 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
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/email-blocks
- AuthHTTP bearer
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"
]
}
]
}
],
"conditionFields": [
{
"field": "tag",
"label": "Tag",
"operators": [
"contains",
"not_contains",
"is_empty",
"is_not_empty"
]
}
]
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
////to the response with the status - info
added the optional property
to the response with the status
- info