Messages / Blocks
Last updated 4 months 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
curl -X POST https://api.eu.liza.app/api/v1/messages \ -H "Authorization: Bearer DEIN_TOKEN" \ -H "Content-Type: application/json" \ -d '{"list_item":"ITEM_ID","text":"Erledigt ✅"}'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.
Was this helpful?
Still need help? Ask the team