Ajustes
Preferencias y conexión con el backend de Lead Engine
Conexión API
URL base del backend REST. Configura NEXT_PUBLIC_API_URL en tu archivo .env.local
Endpoints disponibles
POST /auth/register · POST /auth/login · POST /auth/logout · GET /auth/me
GET/POST /companies · GET/PATCH/DELETE /companies/:id
POST /companies/:id/ban · POST /companies/:id/unban
POST /scraping/import · POST /scraping/run · GET /scraping/stats
POST /ai/analyze-company/:id · POST /ai/analyze-pending
GET /ai/company-analysis/:id · GET /ai/briefing/:id
POST /ai/generate-message/:id (opcional, requiere briefing)
GET/PATCH /commercial/:id
GET/POST /commercial/:id/followups