Conversations
There is no public REST endpoint for conversations yet; read a lead's message history and the available channels with MCP tools, and use the web app for the inbox.
There is no public REST endpoint for conversations yet. The conversation endpoints the web app’s inbox calls are internal. To read conversations from code or an AI assistant, use the Zoie MCP server.
What you can do
| Task | Use | Notes |
|---|---|---|
| Read the message history with a lead | MCP get_conversation_by_lead | Pass lead_id. Add record_type (SMS, WhatsApp, Webchat, Instagram or FacebookMessenger) to get one channel only. Scope conversations:read. |
| See which channels the business can use | MCP list_conversation_channels | Scope conversations:read. |
| Find a lead’s conversation by name, phone or email | MCP global_search, then get_conversation_by_lead | Scope search:read. |
| Send a message or reply | MCP send_message, or a workflow messaging action | See Messages. |
| React when a lead replies by email | A workflow with the Email Replied trigger and a Send webhook action | No workflow trigger fires on inbound SMS, WhatsApp or chat messages. See Triggers and actions. |
| Work the inbox and hand conversations over to your team | The web app | Inbox, Human handoff |
What get_conversation_by_lead returns
Each message is trimmed to these fields:
| Field | Description |
|---|---|
id, lead_id | The message and its lead. |
record_type | The channel. |
direction | Inbound or outbound. |
sender_type, sender_id | Who sent it. |
message_text | The text, cut to 1,000 characters. |
has_media | Whether the message had attachments. Media links are not returned. |
sent_at | When it was sent. |
There is no tool for listing every conversation in the business, or for closing, deleting or marking conversations. The full tool reference is in Available tools, and the user-facing guide is Conversations tools.