Skip to main content
POST
Create Waste Water Facility

Create Waste Water Facility

Create a new waste water treatment (WWT) facility in your organization. Unlike standard facilities, WWT facilities require configuration of three treatment lines:
  • WWT line — waste water treatment process
  • Sludge line — sludge treatment process
  • WWD line — waste water discharge process
Each line determines the CH4 and N2O emission factors used when calculating the facility’s GHG emissions.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Body Parameters

string
required
Name of the facilityExample: "Barcelona WWTP"
string
required
Facility typeExample: "waste_water"
string
ISO 3166-1 country codeExample: "ES"
string
Physical address of the facilityExample: "Passeig de la Zona Franca 101, Barcelona"
string
required
UUID of the waste water treatment line configuration
string
required
UUID of the sludge treatment line configuration
string
required
UUID of the waste water discharge line configuration
boolean
Whether methane from the treatment process is captured and burned (flared). If true, CH4 emissions are reduced.
array[string]
Consumption categories enabled for this facilityExample: ["water"]
string
Facility statusAvailable values: active, archived

Response (201 Created)

string
UUID of the created facility
string
Facility name
string
Facility type
string
Country code
string | null
Facility address
string
Always "waste_water" for WWT facilities
string
UUID of the waste water treatment line
string
UUID of the sludge treatment line
string
UUID of the waste water discharge line
boolean | null
Whether methane is captured and burned
datetime
Creation timestamp

Example

Successful Response (201)

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

422 Unprocessable Entity

Cause: Missing required fields or invalid treatment line UUIDs

Create Facility

Create a standard facility

List Facilities

Retrieve all facilities

Waste Water Treatments

List waste water treatment records