Klaviyo · Schema

HeaderBlockStyles

MarketingEmailSMSCustomer DataE-CommerceAutomation

Properties

Name Type Description
block_background_color string
block_padding_bottom integer
block_padding_left integer
block_padding_right integer
block_padding_top integer
border_color string
border_radius integer
border_style string Border style.
border_width integer
color string
desktop_layout string Header block desktop layout.
font_family string
font_size integer
font_style string Font style.
font_weight string
inner_padding_bottom integer
inner_padding_left integer
inner_padding_right integer
inner_padding_top integer
item_align string Text Alignment.
item_spacing integer
item_spacing_type string Header block item spacing type.
letter_spacing integer
logo_align string Text Alignment.
logo_link_spacing integer
mobile_layout string Header block mobile layout.
mobile_spacing integer
mobile_wrap boolean
text_decoration string
vertical_align string Vertical alignment.
View JSON Schema on GitHub

JSON Schema

klaviyo-headerblockstyles-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HeaderBlockStyles",
  "title": "HeaderBlockStyles",
  "type": "object",
  "properties": {
    "block_background_color": {
      "type": "string",
      "nullable": true
    },
    "block_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "block_padding_left": {
      "type": "integer",
      "nullable": true
    },
    "block_padding_right": {
      "type": "integer",
      "nullable": true
    },
    "block_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "border_color": {
      "type": "string",
      "nullable": true
    },
    "border_radius": {
      "type": "integer",
      "nullable": true
    },
    "border_style": {
      "description": "Border style.",
      "type": "string",
      "enum": [
        "dashed",
        "dotted",
        "groove",
        "inset",
        "none",
        "outset",
        "ridge",
        "solid"
      ],
      "nullable": true
    },
    "border_width": {
      "type": "integer",
      "nullable": true
    },
    "color": {
      "type": "string",
      "nullable": true
    },
    "desktop_layout": {
      "description": "Header block desktop layout.",
      "type": "string",
      "enum": [
        "centered",
        "inline",
        "links",
        "stacked"
      ],
      "nullable": true
    },
    "font_family": {
      "type": "string",
      "nullable": true
    },
    "font_size": {
      "type": "integer",
      "nullable": true
    },
    "font_style": {
      "description": "Font style.",
      "type": "string",
      "enum": [
        "italic",
        "normal"
      ],
      "nullable": true
    },
    "font_weight": {
      "type": "string",
      "nullable": true
    },
    "inner_padding_bottom": {
      "type": "integer",
      "nullable": true
    },
    "inner_padding_left": {
      "type": "integer",
      "nullable": true
    },
    "inner_padding_right": {
      "type": "integer",
      "nullable": true
    },
    "inner_padding_top": {
      "type": "integer",
      "nullable": true
    },
    "item_align": {
      "description": "Text Alignment.",
      "type": "string",
      "enum": [
        "center",
        "left",
        "right"
      ],
      "nullable": true
    },
    "item_spacing": {
      "type": "integer",
      "nullable": true
    },
    "item_spacing_type": {
      "description": "Header block item spacing type.",
      "type": "string",
      "enum": [
        "auto",
        "manual"
      ],
      "nullable": true
    },
    "letter_spacing": {
      "type": "integer",
      "nullable": true
    },
    "logo_align": {
      "description": "Text Alignment.",
      "type": "string",
      "enum": [
        "center",
        "left",
        "right"
      ],
      "nullable": true
    },
    "logo_link_spacing": {
      "type": "integer",
      "nullable": true
    },
    "mobile_layout": {
      "description": "Header block mobile layout.",
      "type": "string",
      "enum": [
        "inline",
        "links",
        "links-stacked",
        "logo-stacked",
        "stacked"
      ],
      "nullable": true
    },
    "mobile_spacing": {
      "type": "integer",
      "nullable": true
    },
    "mobile_wrap": {
      "type": "boolean",
      "nullable": true
    },
    "text_decoration": {
      "type": "string",
      "nullable": true
    },
    "vertical_align": {
      "description": "Vertical alignment.",
      "type": "string",
      "enum": [
        "baseline",
        "bottom",
        "middle",
        "top"
      ],
      "nullable": true
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/klaviyo-headerblockstyles"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.