Questionnaire API (POST)

This API takes in a userId with the user habits and general configuration and store it in the Connect Earth database to later be used in the Connect CO2 (async) and Connect Insights (async) endpoints.

Log in to see full request history
Body Params
string
required
Defaults to user-123

Unique ID of the user

string
required
Defaults to BE

Indicates the specific country that should be used for the CO2 emissions factors (see all countries supported).

number
≥ 1
Defaults to 1

Number of People Purchasing For: Specify the number of individuals for whom purchases are being made. This will be used to calculate emissions per person.

diet
object
utility_bills
object

Household Utility Bill Usage: Indicate which utilities are present in the user's household. Values should be either 0 (not present) or 1 (present)

car_type
object

Types of Cars Used by the Household: Specify the number of cars of each type currently in use within the household. Values must range from 0 to 20.

boolean
Defaults to false

Renewable Electricity Usage: Indicate whether the household uses renewable electricity.

date

Start date in YYYY-MM-DD format

Headers
string
required
Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json