Skip to main content
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 returns 400 invalid_blocks.
A bold title line.
A body paragraph. text supports a Markdown subset: **bold**, _italic_, [label](url), and line breaks.
A two-column label/value grid. 1 to 10 fields.
A row of 1 to 5 buttons. Each button is either a link or an action, never both. style is primary, danger, or omitted.
  • Link (url): opens the link in the browser. Workchats sends your App nothing.
  • Action (action_id + optional value): clickable on Web and Desktop now, and on Mobile in the Next phase. A click sends your App an interaction callback carrying the button’s action_id and value exactly as you posted them (value is null if you left it out), and your reply can show the clicker a private message. See Interactions.
The same 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.
A small grey footer line.
A horizontal rule. Takes no other fields.
Full field-level schema on Block types.

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.