{"name":"StackJus Backend Unificado","version":"2.0.0","status":"online","environment":"production","modules":["documents-ia","processos","reunioes","clients","kanban","custom-fields","prazos","financial","automations","workspace","dashboard","livechat","processes-crud","documents-ia-v2","storage","admin","auth","websocket"],"endpoints":{"health":"/health","healthDetailed":"/health/detailed","googleOAuth":{"authUrl":"GET /api/google/auth/url","callback":"GET /oauth/google/callback","status":"GET /api/google/status","disconnect":"POST /api/google/disconnect","refresh":"POST /api/google/refresh"},"reunioes":{"webhook":"/api/reunioes/webhook","list":"/api/reunioes","detail":"/api/reunioes/:id","transcript":"/api/reunioes/:id/transcricao"},"processos":{"buscar":"/api/processos/buscar","sincronizar":"/api/processos/sincronizar","webhook":"/api/webhooks/escavador","monitoramento":"/api/monitoramento/ativar","documentos":"/api/documentos/:processId"},"clients":{"create":"POST /api/v1/clients","list":"GET /api/v1/clients","get":"GET /api/v1/clients/:id","update":"PUT /api/v1/clients/:id","delete":"DELETE /api/v1/clients/:id","bulkDelete":"POST /api/v1/clients/bulk/delete","stats":"GET /api/v1/clients/stats"},"kanban":{"boards":"GET /api/v1/kanban/boards","cards":"GET /api/v1/kanban/boards/:boardId/cards","move":"POST /api/v1/kanban/cards/move","search":"GET /api/v1/kanban/search/{clients|processes|deadlines}","links":"GET /api/v1/kanban/cards/:cardId/with-links"},"customFields":{"listSchemas":"GET /api/v1/custom-fields/schemas","getSchema":"GET /api/v1/custom-fields/schemas/:id","createSchema":"POST /api/v1/custom-fields/schemas","updateSchema":"PUT /api/v1/custom-fields/schemas/:id","deleteSchema":"DELETE /api/v1/custom-fields/schemas/:id","getEntityConfig":"GET /api/v1/custom-fields/config/:entity_type","replaceEntityConfig":"POST /api/v1/custom-fields/config/:entity_type","validate":"POST /api/v1/custom-fields/validate","query":"GET /api/v1/custom-fields/query"},"automations":{"create":"POST /api/v1/automations","list":"GET /api/v1/automations","get":"GET /api/v1/automations/:id","update":"PUT /api/v1/automations/:id","delete":"DELETE /api/v1/automations/:id","test":"POST /api/v1/automations/:id/test","logs":"GET /api/v1/automations/:id/logs","stats":"GET /api/v1/automations/stats","toggle":"PATCH /api/v1/automations/:id/toggle","keywords":{"list":"GET /api/v1/automations/keywords","get":"GET /api/v1/automations/keywords/:id","create":"POST /api/v1/automations/keywords","update":"PUT /api/v1/automations/keywords/:id","delete":"DELETE /api/v1/automations/keywords/:id","toggle":"PATCH /api/v1/automations/keywords/:id/toggle"},"webhooks":{"list":"GET /api/v1/webhooks","get":"GET /api/v1/webhooks/:id","create":"POST /api/v1/webhooks","update":"PUT /api/v1/webhooks/:id","delete":"DELETE /api/v1/webhooks/:id","receive":"POST /api/v1/webhooks/receive/:webhook_id"},"execution":{"resume":"POST /api/automation/resume/:execution_id","webhook":"POST /api/automation/webhook/:webhook_id/:execution_id","approve":"POST /api/automation/approve/:execution_id","waiting":"GET /api/automation/waiting"}},"workspace":{"mine":"GET /api/v1/workspace/mine","active":"GET /api/v1/workspace/active","setActive":"POST /api/v1/workspace/active","members":"GET /api/v1/workspace/:id/members","stats":"GET /api/v1/workspace/:id/stats","permissions":"GET /api/v1/workspace/:id/permissions"},"dashboard":{"metrics":"GET /api/v1/dashboard/metrics","summary":"GET /api/v1/dashboard/summary","growth":"GET /api/v1/dashboard/growth","urgentProcesses":"GET /api/v1/dashboard/urgent-processes","activities":"GET /api/v1/dashboard/activities","activitiesAll":"GET /api/v1/dashboard/activities/all"},"livechat":{"conversations":{"list":"GET /api/v1/livechat/conversations","get":"GET /api/v1/livechat/conversations/:id","create":"POST /api/v1/livechat/conversations","update":"PATCH /api/v1/livechat/conversations/:id","archive":"POST /api/v1/livechat/conversations/:id/archive","read":"POST /api/v1/livechat/conversations/:id/read","stats":"GET /api/v1/livechat/conversations/stats"},"bots":{"list":"GET /api/v1/livechat/bots","get":"GET /api/v1/livechat/bots/:id","create":"POST /api/v1/livechat/bots","update":"PATCH /api/v1/livechat/bots/:id","delete":"DELETE /api/v1/livechat/bots/:id"},"aiAgents":{"list":"GET /api/v1/livechat/ai-agents","get":"GET /api/v1/livechat/ai-agents/:id","create":"POST /api/v1/livechat/ai-agents","update":"PATCH /api/v1/livechat/ai-agents/:id","delete":"DELETE /api/v1/livechat/ai-agents/:id","toggle":"POST /api/v1/livechat/ai-agents/:id/toggle"},"messages":{"list":"GET /api/v1/livechat/conversations/:conversationId/messages","unreadCount":"GET /api/v1/livechat/conversations/:conversationId/messages/unread-count","delete":"DELETE /api/v1/livechat/messages/:id"}},"processes":{"list":"GET /api/v1/processes","get":"GET /api/v1/processes/:id","create":"POST /api/v1/processes","update":"PATCH /api/v1/processes/:id","delete":"DELETE /api/v1/processes/:id","search":"GET /api/v1/processes/search","inbox":"GET /api/v1/processes/inbox","stats":"GET /api/v1/processes/stats","byClient":"GET /api/v1/processes/by-client/:clientId","timeline":"GET /api/v1/processes/:id/timeline","documents":"GET /api/v1/processes/:id/documents","comments":{"list":"GET /api/v1/processes/:id/comments","create":"POST /api/v1/processes/:id/comments","update":"PATCH /api/v1/processes/comments/:commentId","delete":"DELETE /api/v1/processes/comments/:commentId"},"links":{"list":"GET /api/v1/processes/:id/links","create":"POST /api/v1/processes/:id/links","delete":"DELETE /api/v1/processes/links/:linkId"},"syncExternal":"POST /api/v1/processes/:id/sync-external","markViewed":"POST /api/v1/processes/:id/mark-viewed"},"documentsIA_v2":{"templates":{"list":"GET /api/v1/documents-ia/templates","create":"POST /api/v1/documents-ia/templates","get":"GET /api/v1/documents-ia/templates/:id","update":"PATCH /api/v1/documents-ia/templates/:id","delete":"DELETE /api/v1/documents-ia/templates/:id","duplicate":"POST /api/v1/documents-ia/templates/:id/duplicate","preview":"GET /api/v1/documents-ia/templates/:id/preview"},"sections":{"list":"GET /api/v1/documents-ia/templates/:templateId/sections","create":"POST /api/v1/documents-ia/templates/:templateId/sections","update":"PATCH /api/v1/documents-ia/templates/:templateId/sections/:sectionId","delete":"DELETE /api/v1/documents-ia/templates/:templateId/sections/:sectionId","reorder":"POST /api/v1/documents-ia/templates/:templateId/sections/reorder"},"generations":{"list":"GET /api/v1/documents-ia/generations","create":"POST /api/v1/documents-ia/generations","get":"GET /api/v1/documents-ia/generations/:id","delete":"DELETE /api/v1/documents-ia/generations/:id","download":"GET /api/v1/documents-ia/generations/:id/download"},"analytics":{"dashboard":"GET /api/v1/documents-ia/analytics","usage":"GET /api/v1/documents-ia/analytics/usage","templates":"GET /api/v1/documents-ia/analytics/templates","errors":"GET /api/v1/documents-ia/analytics/errors"},"client":{"context":"GET /api/v1/documents-ia/client/:clientId/context","autofill":"GET /api/v1/documents-ia/client/:clientId/autofill","conversations":"GET /api/v1/documents-ia/client/:clientId/conversations"}}},"documentation":"https://docs.stackjus.com.br"}