Wastes API
The Wastes API allows you to create, retrieve, update, and delete waste records within your organization’s facilities. Each waste record tracks disposal activities and enables automatic CO2e emissions calculations based on waste type, quantity, and disposal method.New API: This endpoint is part of the new API architecture with improved design and maintainability.
Key Features
- Waste Tracking: Create and manage waste disposal records per facility
- Emission Factors: Link waste records to standard emission factors (LER/RD codes) or custom emission factors
- CO2e Calculation: Automatic emissions calculation based on waste type and quantity
- Flexible Units: Support for different quantity units with automatic conversion
- Pagination Support: Efficiently retrieve large lists of waste records
Authentication
All endpoints require authentication using either:- API Key: Include in
x-api-keyheader - JWT Token: Include in
Authorizationheader asBearer {JWT_TOKEN}
Headers
All requests must include:Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faYour API key for authenticationExample:
sk_live_1234567890abcdefAvailable Endpoints
List Wastes
Retrieve all waste records with filtering and pagination
Create Waste
Add a new waste record to a facility
Update Waste
Modify waste record details
Waste Attributes
Core Information
- identification_name (
string, required): Waste identification name or invoice number - description (
string, optional): Description of the waste - start_date (
date, required): Start date of the waste period - end_date (
date, required): End date of the waste period - base_quantity (
float, required): Waste quantity in the specified unit - facility_id (
UUID, required): UUID of the facility this waste belongs to
Disposal Details
- destination (
string, optional): Waste destination or treatment facility - total_km_to_waste_center (
float, optional): Distance to waste center in km
Emission Configuration
- waste_efs_id (
UUID, optional): UUID of the waste emission factor (LER/RD code combination) - unit_id (
UUID, optional): UUID of the quantity unit (defaults to kg) - custom_emission_factor_id (
UUID, optional): UUID of a custom emission factor
Read-Only Fields
- co2e (
float): Calculated CO2 equivalent emissions in kg CO2e - co2e_biomass (
float): Biogenic CO2 emissions in kg CO2e - status (
string): Current processing status
Workflow
Creating a Waste Record
- Identify the facility: Get the facility UUID from the Facilities API
- Find the emission factor (optional): Use waste LER/RD codes to find the appropriate
waste_efs_id - Create the waste record with quantity, dates, and emission factor
- CO2e is calculated automatically after creation
Response Format
Waste Object
Error Handling
Common HTTP Status Codes
| Status | Meaning | Solution |
|---|---|---|
| 200 | Success | - |
| 201 | Created | - |
| 400 | Bad Request | Check request parameters and format |
| 401 | Unauthorized | Verify API key or JWT token |
| 403 | Forbidden | Facility doesn’t belong to your organization |
| 404 | Not Found | Check resource ID |
| 422 | Validation Error | Review error details in response |
Related Documentation
Facilities API
Manage facilities where waste is generated
Scope 3 Category 5
Guide for waste-related emissions (GHG Protocol)

