Reference & Metadata

Retrieve the organizational structure and facilities for your company.

This endpoint returns a hierarchical view of your organization's facilities, including:

  • Facility hierarchy: Parent-child relationships between facilities
  • Facility metadata: Names, categories, and organizational details
  • Company structure: Complete organizational tree for your company

Use this data to understand your organizational structure and filter emissions data by specific facilities.

get/facilities

Request

  • Base URL
    https://api.unravelcarbon.com/api/v1
  • Auth
    HTTP bearer

Headers

Authorizationstring required
Example:Bearer <your_api_key>

Bearer token (API Key)

Response

List of facilities

Example response

{
  "data": [
    {
      "id": "abc123",
      "name": "Headquarters",
      "category": "company",
      "location": "64f1a2b3c4d5e6f708192a3b",
      "country": "Singapore",
      "city": "Singapore",
      "is_active": true
    }
  ]
}

Changes

    • info

      added the optional property data/items/city to the response with the status

    • info

      added the optional property data/items/country to the response with the status

    • info

      added the optional property data/items/description to the response with the status

    2 more changes in this revision