latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-18269154992.5 KB

8fbabe82a04d

Email Blocks

Get email block type

Returns the full field reference for one block type, with a minimal valid example and authoring notes.

get/email-blocks/{type}

Path parameters

typestring required

Block type, for example list, steps, text, or hero.

Response

Block type reference

successboolean

Example response

{
  "success": true,
  "blockType": {
    "type": "steps",
    "required": [
      "items",
      "variant"
    ],
    "optional": [
      "id",
      "accentColor",
      "styles",
      "conditions"
    ],
    "fields": [
      {
        "name": "variant",
        "type": "enum",
        "values": [
          "numbered",
          "timeline"
        ]
      }
    ]
  }
}