Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.manglai.io/llms.txt

Use this file to discover all available pages before exploring further.

Description

Companies are the main operational unit. Each company manages its buildings, vehicles, consumptions and emissions.

Endpoints

MethodPathDescription
GET/api/v1/companiesList companies
GET/api/v1/companies/{id}/buildingsCompany buildings
GET/api/v1/companies/{id}/departmentsDepartments
GET/api/v1/companies/{id}/organization-limitsOrganization limits
GET/api/v1/companies/{id}/year-configurationYear configuration

Example: List companies

curl -X GET "https://www.manglai.io/api/v1/companies?page=1&limit=10" \
  -H "Authorization: Bearer YOUR_TOKEN"

Common Parameters

  • page (optional): Page number
  • limit (optional): Items per page (max 1000)
  • companyIds (optional): Filter by company IDs