Create Waste Water Facility
Create Waste Water Facility
Create a waste water treatment facility with treatment line configuration
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
Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faBody 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, archivedResponse (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 facilitiesstring
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 key403 Forbidden
Cause: The authenticated user is not a member of the organization422 Unprocessable Entity
Cause: Missing required fields or invalid treatment line UUIDsRelated Endpoints
Create Facility
Create a standard facility
List Facilities
Retrieve all facilities
Waste Water Treatments
List waste water treatment records