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

Analyze

Analyzes WhatsApp messages to extract insights, sentiment, and action items.

POST /api/agents/whatsapp/analyze

Request Body

{ "messageIds": ["msg_uuid1", "msg_uuid2"], "agentId": "123e4567-e89b-12d3-a456-426614174000", "site_id": "123e4567-e89b-12d3-a456-426614174000" }
ParameterTypeRequiredDescription
messageIdsstring[]YesArray of message UUIDs to analyze.
agentIdstringYesThe UUID of the agent performing analysis.
site_idstringYesThe UUID of the site.
analysis_typestringNoType of analysis (default: ‘comprehensive’).
lead_idstringNoAssociated lead UUID.
conversation_idstringNoAssociated conversation UUID.

Response

Returns a command ID for the asynchronous analysis task.

Last updated on