# Manglai API Documentation ## Docs - [Login](https://developers.manglai.io/api-reference/auth/login.md): Login a user - [Logout](https://developers.manglai.io/api-reference/auth/logout.md): Logout a user - [Who Am I](https://developers.manglai.io/api-reference/auth/who-am-i.md): Who am I - [Move](https://developers.manglai.io/api-reference/buildings/move.md): Move buildings and all related data to another company - [Get Business Travels Dashboard](https://developers.manglai.io/api-reference/business-travels/get-business-travels-dashboard.md): Get dashboard data for business travels - [List Business Travels](https://developers.manglai.io/api-reference/business-travels/list-business-travels.md): Get a list of business travels - [List Categories](https://developers.manglai.io/api-reference/categories/list-categories.md): Get a list of categories - [List Certificates](https://developers.manglai.io/api-reference/certificates/list-certificates.md): Get a list of certificates - [Retrieve a specific certificate record](https://developers.manglai.io/api-reference/certificates/retrieve-a-specific-certificate-record.md): Fetch details of a certificate record by its unique identifier. - [List Comments](https://developers.manglai.io/api-reference/comments/list-comments.md): Get a list of comments - [Delete Company](https://developers.manglai.io/api-reference/companies/delete-company.md): Delete a specific company organization limit - [Get Organization Limit](https://developers.manglai.io/api-reference/companies/get-organization-limit.md): Get a specific company organization limit by ID - [List Companies](https://developers.manglai.io/api-reference/companies/list-companies.md): Get a list of companies - [List Companies {id} Buildings](https://developers.manglai.io/api-reference/companies/list-companies--buildings.md): Get a list of buildings - [List Companies {id} Buildings Regos](https://developers.manglai.io/api-reference/companies/list-companies--buildings-regos.md): Get a list of regos - [List Companies {id} Buildings Regos Dashboard](https://developers.manglai.io/api-reference/companies/list-companies--buildings-regos-dashboard.md): Get a list of regos dashboard - [List Companies {id} Departments](https://developers.manglai.io/api-reference/companies/list-companies--departments.md): Get a list of departments - [List Companies {id} Organization Limits](https://developers.manglai.io/api-reference/companies/list-companies--organization-limits.md): Get a list of company organization limits - [List Companies {id} Year Configuration](https://developers.manglai.io/api-reference/companies/list-companies--year-configuration.md): Get a list of year configurations - [Organization Limits](https://developers.manglai.io/api-reference/companies/organization-limits.md): Create or update a company organization limit - [Update Company](https://developers.manglai.io/api-reference/companies/update-company.md): Update a specific company organization limit - [Create or update a consumption record](https://developers.manglai.io/api-reference/consumptions/create-or-update-a-consumption-record.md): Creates a new consumption record or updates an existing one. For more information and see how to use this endpoint, see: https://manglai.notion.site/Consumptions-2af89a8b970b806e8359e8446b67f32e - [Get Consumptions Dashboard](https://developers.manglai.io/api-reference/consumptions/get-consumptions-dashboard.md): Get a summary of consumptions filtered by company, date range, categories, buildings and entities (vehicle, invoice, survey answer...). - [List Consumptions](https://developers.manglai.io/api-reference/consumptions/list-consumptions.md): Get a list of consumptions - [Retrieve a specific consumption record](https://developers.manglai.io/api-reference/consumptions/retrieve-a-specific-consumption-record.md): Fetch details of a consumption record by its unique identifier. - [Get Custom Metrics Dashboard](https://developers.manglai.io/api-reference/custom-metrics/get-custom-metrics-dashboard.md): Get a summary of custom metrics - [List Custom Metrics](https://developers.manglai.io/api-reference/custom-metrics/list-custom-metrics.md): Get a list of custom metrics - [Delete an effluent](https://developers.manglai.io/api-reference/effluents/delete-an-effluent.md): Delete an effluent record by its unique identifier. - [Insert or update an effluent](https://developers.manglai.io/api-reference/effluents/insert-or-update-an-effluent.md): Insert a new effluent record or update an existing one by its unique identifier. - [List Effluents](https://developers.manglai.io/api-reference/effluents/list-effluents.md): Get a list of effluents - [List Emission Factors Custom](https://developers.manglai.io/api-reference/emission-factors/list-emission-factors-custom.md): Get a list of custom emission factors - [Get Emissions Dashboard](https://developers.manglai.io/api-reference/emissions/get-emissions-dashboard.md): Get a summary of emissions filtered by company, date range, categories, buildings and entities. - [List Emissions](https://developers.manglai.io/api-reference/emissions/list-emissions.md): Get a list of emissions - [List Employees](https://developers.manglai.io/api-reference/employees/list-employees.md): Get a list of employees - [Retrieve a specific employee record](https://developers.manglai.io/api-reference/employees/retrieve-a-specific-employee-record.md): Fetch details of a employee record by its unique identifier. - [List Goals](https://developers.manglai.io/api-reference/goals/list-goals.md): Get a list of goals - [List Goals Scenarios](https://developers.manglai.io/api-reference/goals/list-goals-scenarios.md): Get a list of scenarios - [List Goals Tasks](https://developers.manglai.io/api-reference/goals/list-goals-tasks.md): Get a list of tasks - [Retrieve a specific scenario record](https://developers.manglai.io/api-reference/goals/retrieve-a-specific-scenario-record.md): Fetch details of a scenario record by its unique identifier. - [List Inputs Custom](https://developers.manglai.io/api-reference/inputs/list-inputs-custom.md): Get a list of custom inputs - [List Inputs Recommended](https://developers.manglai.io/api-reference/inputs/list-inputs-recommended.md): Get a list of recommended inputs - [Retrieve a specific custom input record](https://developers.manglai.io/api-reference/inputs/retrieve-a-specific-custom-input-record.md): Fetch details of a custom input record by its unique identifier. - [Get Investments Dashboard](https://developers.manglai.io/api-reference/investments/get-investments-dashboard.md): Get a summary of investments - [List Investments](https://developers.manglai.io/api-reference/investments/list-investments.md): Get a list of investments - [Delete a specific invoice record](https://developers.manglai.io/api-reference/invoices/delete-a-specific-invoice-record.md): Deletes an invoice record by its unique identifier. - [Get Invoices Dashboard](https://developers.manglai.io/api-reference/invoices/get-invoices-dashboard.md): Get a summary of invoices filtered by company, date range and buildings. - [Insert or update an invoice](https://developers.manglai.io/api-reference/invoices/insert-or-update-an-invoice.md): Creates a new invoice record or updates an existing one based on its unique identifier (`id`). This endpoint supports multiple invoice types (e.g. heat, fuel, electricity, wastes, etc.). - If the `id` exists, the record is updated. - If the `id` does not exist, a new record is inserted. ⚠️ **Special… - [List Invoices](https://developers.manglai.io/api-reference/invoices/list-invoices.md): Get a list of invoices - [Retrieve a specific invoice record](https://developers.manglai.io/api-reference/invoices/retrieve-a-specific-invoice-record.md): Fetch details of a invoice record by its unique identifier. - [Upload, scan & save an invoice](https://developers.manglai.io/api-reference/invoices/upload-scan-&-save-an-invoice.md): Uploads an invoice file together with its metadata. The system will automatically scan the document, extract relevant data, and create or update the invoice in the database. If any step of the process (upload, scan, or save) fails, an exception is thrown. - [List Purchased Goods Expenses](https://developers.manglai.io/api-reference/purchased-goods/list-purchased-goods-expenses.md): Get a list of expenses - [Create a new GLEC service footprint entry](https://developers.manglai.io/api-reference/service-footprint-glec/create-a-new-glec-service-footprint-entry.md): This endpoint creates a new entry for the GLEC service footprint. - [Delete a GLEC service footprint entry](https://developers.manglai.io/api-reference/service-footprint-glec/delete-a-glec-service-footprint-entry.md): This endpoint deletes a GLEC service footprint entry. - [Retrieve the dashboard of the GLEC service footprint](https://developers.manglai.io/api-reference/service-footprint-glec/retrieve-the-dashboard-of-the-glec-service-footprint.md): Fetch the dashboard of the GLEC service footprint. - [Retrieve the list of GLEC service footprint](https://developers.manglai.io/api-reference/service-footprint-glec/retrieve-the-list-of-glec-service-footprint.md): Fetch the list of GLEC service footprint. - [Create Supplier](https://developers.manglai.io/api-reference/suppliers/create-supplier.md): Upsert a new supplier - [List Suppliers](https://developers.manglai.io/api-reference/suppliers/list-suppliers.md): Get a list of suppliers - [Create User](https://developers.manglai.io/api-reference/users/create-user.md): Create a new user - [Invite](https://developers.manglai.io/api-reference/users/invite.md): Invite a user - [List Users](https://developers.manglai.io/api-reference/users/list-users.md): Get a list of users - [Update User](https://developers.manglai.io/api-reference/users/update-user.md): Update user data fast (lastLoginAt) - [Create Vehicle](https://developers.manglai.io/api-reference/vehicles/create-vehicle.md): Create or update a vehicle - [Get Vehicles Dashboard](https://developers.manglai.io/api-reference/vehicles/get-vehicles-dashboard.md): Get a summary of vehicles - [List Vehicles](https://developers.manglai.io/api-reference/vehicles/list-vehicles.md): Get a list of vehicles - [Retrieve a specific vehicle record](https://developers.manglai.io/api-reference/vehicles/retrieve-a-specific-vehicle-record.md): Fetch details of a vehicle record by its unique identifier. - [Create Waste Operator](https://developers.manglai.io/api-reference/waste-operators/create-waste-operator.md): Upsert a new waste operator - [List Waste Operators](https://developers.manglai.io/api-reference/waste-operators/list-waste-operators.md): Get a list of waste operators - [Buildings (Edificios)](https://developers.manglai.io/api/es/resources/buildings.md): Gestión de edificios y propiedades - [Categories (Categorías)](https://developers.manglai.io/api/es/resources/categories.md): Clasificación GHG Protocol - [Companies (Empresas)](https://developers.manglai.io/api/es/resources/companies.md): Gestión de empresas y organizaciones en Manglai - [Consumptions (Consumos)](https://developers.manglai.io/api/es/resources/consumptions.md): Registro y gestión de consumos energéticos y operativos - [Emission Factors (Factores de emisión)](https://developers.manglai.io/api/es/resources/emission-factors.md): Factores de emisión personalizados - [Emissions (Emisiones)](https://developers.manglai.io/api/es/resources/emissions.md): Consulta de emisiones calculadas - [Invoices (Facturas)](https://developers.manglai.io/api/es/resources/invoices.md): Gestión de facturas y subida con escaneo IA - [Otros recursos](https://developers.manglai.io/api/es/resources/other-resources.md): Recursos adicionales de la API - [Resumen de recursos](https://developers.manglai.io/api/es/resources/overview.md): Visión general de los recursos disponibles en la API de Manglai - [Vehicles (Vehículos)](https://developers.manglai.io/api/es/resources/vehicles.md): Gestión de flotas de vehículos - [Autenticación](https://developers.manglai.io/authentication.md): Cómo autenticar las solicitudes a la API de Manglai - [Viajes de negocio](https://developers.manglai.io/examples/business-travels.md): Sincroniza los viajes corporativos de tus empleados y obtén las emisiones de Scope 3 por tipo de transporte - [Emisiones de compras](https://developers.manglai.io/examples/expenses.md): Sincroniza tus gastos de compra y obtén las emisiones de Scope 3 asociadas a proveedores y categorías - [Emisiones logísticas GLEC / ISO 14083](https://developers.manglai.io/examples/logistics.md): Registra servicios de transporte y calcula la huella logística según el estándar GLEC e ISO 14083 - [Subida de facturas](https://developers.manglai.io/examples/upload-invoice.md): Sube facturas de suministros y calcula automáticamente huella de carbono, hídrica y de residuos - [Guía de integración API](https://developers.manglai.io/guides/integrate-api.md): Guía paso a paso para integrar todos los recursos de la API REST de Manglai en tu sistema - [Guía de integración MCP](https://developers.manglai.io/guides/integrate-mcp.md): Conecta Claude, Cursor, ChatGPT o Gemini a tus datos de Manglai y consúltalos en lenguaje natural - [Introducción](https://developers.manglai.io/intro.md): Bienvenido a la plataforma de desarrollo de Manglai — API REST e integración MCP para gestión ambiental - [Integración con ChatGPT](https://developers.manglai.io/mcp/es/integrations/chatgpt.md): Conectar el MCP de Manglai a ChatGPT - [Integración con Claude](https://developers.manglai.io/mcp/es/integrations/claude.md): Conectar el MCP de Manglai a Claude Desktop - [Integración con Gemini](https://developers.manglai.io/mcp/es/integrations/gemini.md): Conectar el MCP de Manglai a Google Gemini - [Manglai MCP Server](https://developers.manglai.io/mcp/es/intro.md): Conecta asistentes de IA a tus datos ambientales de Manglai - [Uso con mcp-remote](https://developers.manglai.io/mcp/es/mcp-remote.md): Conectar al MCP de Manglai usando el paquete mcp-remote - [MCP Quickstart](https://developers.manglai.io/mcp/es/quickstart.md): Configura el MCP de Manglai en minutos - [Tools — Viajes de negocio](https://developers.manglai.io/mcp/es/tools/business-travels.md): Consulta registros de viaje de negocio y sus emisiones con el MCP de Manglai - [Tools — Empresas](https://developers.manglai.io/mcp/es/tools/companies.md): Consulta empresas, edificios y departamentos con el MCP de Manglai - [Tools — Consumos](https://developers.manglai.io/mcp/es/tools/consumptions.md): Consulta registros de consumo energético con el MCP de Manglai - [Tools — Emisiones](https://developers.manglai.io/mcp/es/tools/emissions.md): Consulta emisiones de CO₂e calculadas con el MCP de Manglai - [Tools — Empleados](https://developers.manglai.io/mcp/es/tools/employees.md): Consulta empleados y datos de movilidad con el MCP de Manglai - [Tools — Objetivos](https://developers.manglai.io/mcp/es/tools/goals.md): Consulta objetivos de reducción, tareas y escenarios con el MCP de Manglai - [Tools — Facturas](https://developers.manglai.io/mcp/es/tools/invoices.md): Consulta facturas de suministros con el MCP de Manglai - [Tools — Logística GLEC](https://developers.manglai.io/mcp/es/tools/logistics.md): Consulta la huella de servicio logístico alineada con GLEC con el MCP de Manglai - [Tools disponibles](https://developers.manglai.io/mcp/es/tools/overview.md): Referencia completa de todas las tools del MCP de Manglai por área - [Tools — Datos de referencia](https://developers.manglai.io/mcp/es/tools/reference.md): Categorías GHG, factores de emisión, inputs y usuarios con el MCP de Manglai - [Tools — Vehículos](https://developers.manglai.io/mcp/es/tools/vehicles.md): Consulta la flota de vehículos con el MCP de Manglai - [Quickstart](https://developers.manglai.io/quickstart.md): Configura tu primera llamada a la API de Manglai en minutos ## OpenAPI Specs - [openapi](https://developers.manglai.io/openapi.json)