Header
A bold, single-line title that breaks up a message or view into sections.
A header displays a short, bold line of plain text. Use it to introduce a distinct section of a message or app surface. Slack doesn’t apply any markdown to it.
Fields
PropType
typestring
Always `"header"`.
Type
stringtextplain_text object
The header's text. Must be a `plain_text` text object; `mrkdwn` isn't allowed. Maximum 150 characters.
Type
plain_text objectblock_id?string
A unique identifier for the block, up to 255 characters. Slack generates one if omitted.
Type
stringExamples
Basic header
Header with a section and divider
Headers are typically followed by content: a section, a divider, or both.