Skip to main content
GET
List Groups by Category
Legacy API. This page documents the previous version of the API. This particular operation has no documented equivalent in the current API yet, so this remains the documented way to do it. Prefer the current API for everything it already covers.
Retrieve all custom emission groups for a specific organization filtered by category (purchases, wastes, or energy).
This endpoint requires the organization_id in the path rather than using the header. Ensure you use the correct organization ID.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: ff4adcc7-8172-45fe-9cf1-e90a6de53aa9
string
required
Your user UUIDExample: a1b2c3d4-e5f6-7890-abcd-ef1234567890

Path Parameters

string
required
UUID of the organizationExample: "org-uuid-here"
string
required
Category to filter byValues: "purchases", "wastes", or "energy"

Response

Example

Use Cases

Load Category-Specific Groups

Get groups for a specific category when creating records:

Build Category Selector

Create a dropdown for each category:

Filter All Categories

Get groups for all categories:

Check Group Availability

Verify groups exist before allowing custom factor selection:

Response Fields

string
UUID of the organization
array
Array of custom emission group objectsEach group contains:
  • id: Group UUID
  • name: Group name
  • category: Category type
  • group_start_date: Optional validity start date
  • group_end_date: Optional validity end date
  • group_uploaded_by: Optional uploader reference

Common Errors

422 Validation Error - Invalid Category

Cause: Invalid category. Must be ‘purchases’, ‘wastes’, or ‘energy’
Solution: Use purchases, wastes, or energy for the category parameter.

404 Not Found

Cause: Organization not found
Solution: Verify the organization ID is correct.

List All Groups

View groups across all categories

Organization Data

Get groups with factors

Create Group

Add new group