Skip to main content
GET
/
impact
/
hosted-page-config
Get Hosted Climate Impact Page Configuration
curl --request GET \
  --url https://api.cnaught.com/v1/impact/hosted-page-config \
  --header 'Authorization: Bearer <token>'
{
  "enabled": true,
  "enabled_equivalents": [
    "homes",
    "flights"
  ],
  "url": "https://impact.cnaught.com/cnaughtreserve"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Subaccount-Id
string

If present, will return configuration for the hosted impact subaccount.

Response

Impact Hosted Page Configuration

enabled
boolean

Whether the hosted impact page is enabled for the account or subaccount

url
string

URL of the hosted impact page for the account or subaccount

Example:

"https://impact.cnaught.com/cnaughtreserve"

enabled_equivalents
string[]

The list of equivalent stats that are shown on the hosted impact page. Possible values are homes, flights, cars, trees

Example:
["homes", "trees"]