Messages / Blocks
Last updated 24 days ago
Messages / Blocks
Chat and message content in Liza is made up of "Blocks". For simple message posting, there is also a convenient endpoint.
Post a message (simple)
Body: { "list": "<listId>" } or { "list_item": "<itemId>" } plus text.
bash
Blocks (advanced)
Base path: /v1/blocks. Fine-grained control over chat and thread content.
Body — create a block (POST /v1/blocks)
reactions expects { emoji, group_ }. Pure view endpoints (feed/load/next) take context IDs + size.
TIP
For simply "attaching a comment to an item", POST /v1/messages is enough, or the post_chat_message tool in MCP. The /v1/blocks endpoints are for clients that render entire chat feeds.