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, scopes the operation to the subaccount with given id. See Subaccounts for more info.

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

Examples:

"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

Examples:
["homes", "trees"]
I