Divider block
A horizontal line that separates blocks, like an <hr>.
| Type | divider |
| Available in | Messages, Modals, Home tab |
Fields
Section titled “Fields”| Field | Type | Description | Required? |
|---|---|---|---|
type |
String | The type of block. For a divider block, type is always divider. |
Required |
block_id |
String | A unique identifier for the block. Maximum length is 255 characters. It must be unique within the message or view — a duplicate is replaced and reported as a warning. | Optional |
Examples
Section titled “Examples”A divider between two sections
Section titled “A divider between two sections”
{ "blocks": [ { "type": "section", "text": { "type": "mrkdwn", "text": "*Today's pipeline:* 12 open deals, SAR 1.4M" } }, { "type": "divider" }, { "type": "section", "text": { "type": "mrkdwn", "text": "*Due today:* 4 follow-ups, 2 quotes awaiting approval" } } ]}