blocks let you send a richer layout than plain text — a title, a
label/value grid, buttons — on top of the required text fallback. Blocks
ship in stages:
Always send
text. It’s what Mobile and push notifications show until
rendering ships there, and it stays as the fallback after.
Block types
At most 50 blocks per message, 16 KB total. An unknown type or a field a type doesn’t accept returns400 invalid_blocks.
header
header
section
section
text supports a Markdown subset: **bold**,
_italic_, [label](url), and line breaks.fields
fields
actions
actions
style is primary, danger, or omitted.- Link (
url): opens the link in the browser. Workchats sends your App nothing. - Action (
action_id+ optionalvalue): clickable on Web and Desktop now, and on Mobile in the Next phase. A click sends your App aninteractioncallback carrying the button’saction_idandvalueexactly as you posted them (valueisnullif you left it out), and your reply can show the clicker a private message. See Interactions.
action_id can appear on several buttons with different values —
for example one lead.assign button per teammate — and the value tells
you which one was clicked.context
context
divider
divider
Editing
PATCH /v1/messages/{id} is a merge patch. A blocks value replaces the
whole array, because there is no partial update of single blocks. Leaving
blocks out keeps the card, so a text-only edit doesn’t touch it. Send
"blocks": null to remove the card. See
Edit.