{"name":"MacSoft Model Bot API - Multi-Tenant","version":"4.0.0","status":"running","endpoints":{"messages":"POST /messages?bot_id={uuid} (X-API-Key)","botManagement":{"create":"POST /api/bots","list":"GET /api/bots","get":"GET /api/bots/:id","status":"GET /api/bots/:id/status","logs":"GET /api/bots/:id/logs?level=error&hours=24 (X-API-Key)","logsSearch":"GET /api/bots/:id/logs/search?level=error&limit=50 (X-API-Key)","pause":"POST /api/bots/:id/pause","resume":"POST /api/bots/:id/resume","conversationPause":"POST /api/bots/:id/conversations/pause body:{phone_number} (X-API-Key)","conversationResume":"POST /api/bots/:id/conversations/resume body:{phone_number} (X-API-Key)","conversationPauseStatus":"GET /api/bots/:id/conversations/pause-status?phone_number= (X-API-Key)","reload":"POST /api/bots/:id/reload","delete":"DELETE /api/bots/:id","integrations":{"list":"GET /api/bots/:id/integrations","enable":"POST /api/bots/:id/integrations/:integrationId/enable","disable":"POST /api/bots/:id/integrations/:integrationId/disable","update":"PUT /api/bots/:id/integrations/:integrationId","autoAssociate":"POST /api/bots/:id/integrations/auto-associate"},"inactivity":{"get":"GET /api/bots/:id/inactivity-config","update":"PUT /api/bots/:id/inactivity-config"},"saveConversationHistory":{"get":"GET /api/bots/:id/save-conversation-history","update":"PUT /api/bots/:id/save-conversation-history"},"typingIndicator":{"get":"GET /api/bots/:id/typing-indicator","update":"PUT /api/bots/:id/typing-indicator body:{enabled} (X-API-Key)"},"markMessagesAsRead":{"get":"GET /api/bots/:id/mark-messages-as-read","update":"PUT /api/bots/:id/mark-messages-as-read body:{enabled} (X-API-Key)"}},"botControl":{"status":"GET /bot/status (X-API-Key)","start":"POST /bot/start (X-API-Key)","stop":"POST /bot/stop (X-API-Key)","restart":"POST /bot/restart (X-API-Key)","queues":"GET /bot/queues (X-API-Key)","sessions":"GET /bot/sessions (X-API-Key)","flows":"GET /bot/flows (X-API-Key)","integrations":"GET /bot/integrations (X-API-Key)"},"logs":{"stream":"GET /logs/stream (X-API-Key)","files":"GET /logs/files (X-API-Key)","search":"GET /logs/search (X-API-Key)","tail":"GET /logs/tail (X-API-Key)"}},"note":"All endpoints except GET / and GET /health require X-API-Key header"}