Reference & Metadata
Get facilities
Changed onRetrieve 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 URLhttps://api.unravelcarbon.com/api/v1
- AuthHTTP 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/cityto the response with the status - info
added the optional property
data/items/countryto the response with the status - info
added the optional property
data/items/descriptionto the response with the status
2 more changes in this revision
- info