Agents
Talk to a role agent or hit the same tools the MCP server uses (/api/agents/tools/*).
Explore the agent workspace. Use the authenticated examples below to message agents in your own Site.
Sample workspace, not your live Site. This visual reference does not verify API calls or configure your integrations.Open agent workspace demo in a new tab ↗Scroll inside the demo to explore. If it does not load or you need more space, use the link above.
Message the CMO
POST
/api/agents/cmo/messagecurl -X POST "https://backend.makinari.com/api/agents/cmo/message" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"site_id": "YOUR_SITE_ID",
"message": "Give me a status update on our campaigns."
}'Other role prefixes follow the same pattern: /api/agents/sales/..., /api/agents/customerSupport/message, /api/agents/email/reply, /api/agents/copywriter/content-editor.
Inbound channel messages
POST /api/agent/message is for admission, not direct chat. Its first supported input is an original Zavu inbound message envelope with its X-Zavu-Signature. Do not send a site API key or choose an agent in the body. Keep the existing Zavu webhook registered for lifecycle and delivery events; its inbound messages already use the same admission path. The chat widget keeps its workflow and status URLs.
Tools (preferred for CRUD)
Do not guess GET /list paths. CRM and marketing use POST + action:
- Leads → Leads
- Campaigns / segments → Campaigns, Segments
- Full MCP names → Tools catalog
Last updated on