List Groups by Category
List Groups by Category
Get custom emission groups filtered by category for an organization
GET
List Groups by Category
List Groups by Category
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_1234567890abcdefstring
required
Your organization UUIDExample:
ff4adcc7-8172-45fe-9cf1-e90a6de53aa9string
required
Your user UUIDExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Path 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 UUIDname: Group namecategory: Category typegroup_start_date: Optional validity start dategroup_end_date: Optional validity end dategroup_uploaded_by: Optional uploader reference
Common Errors
422 Validation Error - Invalid Category
Cause: Invalid category. Must be ‘purchases’, ‘wastes’, or ‘energy’purchases, wastes, or energy for the category parameter.
404 Not Found
Cause: Organization not foundRelated Endpoints
List All Groups
View groups across all categories
Organization Data
Get groups with factors
Create Group
Add new group