Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →
MCP ServerToolsConversationsGET

Conversations

List company conversations. Use action=“list” with optional filters: lead_id, visitor_id, user_id, agent_id, status (conversation status e.g. active), channel (e.g. whatsapp, email, chat), custom_data_status (value of custom_data.status).

Input Schema

ParameterTypeDescription
actionstringAction to perform (list only). Enum: list
lead_idstringFilter by lead UUID
visitor_idstringFilter by visitor UUID
user_idstringFilter by user UUID
agent_idstringFilter by agent UUID
statusstringFilter by conversation status (e.g. active, closed)
channelstringFilter by channel (e.g. whatsapp, email, chat)
custom_data_statusstringFilter by custom_data.status (JSONB key)
limitnumberMax results (default 10)
offsetnumberPagination offset

REST Endpoint

GET /api/agents/customerSupport/conversations

All parameters are passed as query string. The site_id param is required.

GET /api/agents/customerSupport/conversations?site_id=YOUR_SITE_ID&channel=whatsapp&status=active&limit=20 Authorization: Bearer YOUR_API_KEY

Response:

{ "success": true, "data": { "conversations": [...], "pagination": { "total": 42, "page": 1, "limit": 20, "pages": 3 } } }
Last updated on