Sustainability pages
Create a sustainability page
POST to /v1/sustainability-pagesCreate a public https://sustainability.lune.co/<slug> page to communicate your climate impact efforts.Request body
statusstringrequired
The sustainability page status which determines whether it is visible to the public.
enableddisabledslugstringrequired
Pattern: ^[a-z0-9.-]+$
The sustainability page slug. The slug is used to identify the page publicly and should be unique.
titlestringrequired
The sustainability page title stat format.
by_volumeby_pricedescriptionstringnullable
by_equivalentby_supported_goalsby_custom_descriptioncustom_descriptionstringnullable
The sustainability page custom description. Only displayed when description is set to by_custom_description.
sectionsarrayrequired
The sustainability page sections that will be displayed in the page. Only a single instance of each section type is allowed and the order is irrelevant.
string
The sustainability page section name.
bundles_breakdowncertificatesunsdgResponse
A Sustainability Page represents the entity which enables accounts or client accounts to share their impact publicly.
Upon the first retirement, the Sustainability Page displays certificates with proof of the retired carbon credits and beneficiary.
statusstringrequired
The sustainability page status which determines whether it is visible to the public.
enableddisabledslugstringrequired
Pattern: ^[a-z0-9.-]+$
The sustainability page slug. The slug is used to identify the page publicly and should be unique.
titlestringrequired
The sustainability page title stat format.
by_volumeby_pricedescriptionstringrequirednullable
by_equivalentby_supported_goalsby_custom_descriptioncustom_descriptionstringrequirednullable
The sustainability page custom description. Only displayed when description is set to by_custom_description.
sectionsarrayrequirednullable
The sustainability page sections that will be displayed in the page. Only a single instance of each section type is allowed and the order is irrelevant.
string
The sustainability page section name.
bundles_breakdowncertificatesunsdgErrors
This API operation can return the following errors:400api_version_invalid400bundle_selection_ratios_invalid400bundle_selection_bundle_invalid400order_value_invalid400bundle_id_invalid400id_invalid400distance_invalid400test_account_name_update_disallowed400bundle_selection_ratios_invalid_format400address_not_foundUpdate a sustainability page
PUT to /v1/sustainability-pagesUpdate the format, layout and status of your public https://sustainability.lune.co/<slug> page.Request body
statusstringrequired
The sustainability page status which determines whether it is visible to the public.
enableddisabledslugstringrequired
Pattern: ^[a-z0-9.-]+$
The sustainability page slug. The slug is used to identify the page publicly and should be unique.
titlestringrequired
The sustainability page title stat format.
by_volumeby_pricedescriptionstringnullable
by_equivalentby_supported_goalsby_custom_descriptioncustom_descriptionstringnullable
The sustainability page custom description. Only displayed when description is set to by_custom_description.
sectionsarrayrequired
The sustainability page sections that will be displayed in the page. Only a single instance of each section type is allowed and the order is irrelevant.
string
The sustainability page section name.
bundles_breakdowncertificatesunsdgResponse
A Sustainability Page represents the entity which enables accounts or client accounts to share their impact publicly.
Upon the first retirement, the Sustainability Page displays certificates with proof of the retired carbon credits and beneficiary.
statusstringrequired
The sustainability page status which determines whether it is visible to the public.
enableddisabledslugstringrequired
Pattern: ^[a-z0-9.-]+$
The sustainability page slug. The slug is used to identify the page publicly and should be unique.
titlestringrequired
The sustainability page title stat format.
by_volumeby_pricedescriptionstringrequirednullable
by_equivalentby_supported_goalsby_custom_descriptioncustom_descriptionstringrequirednullable
The sustainability page custom description. Only displayed when description is set to by_custom_description.
sectionsarrayrequirednullable
The sustainability page sections that will be displayed in the page. Only a single instance of each section type is allowed and the order is irrelevant.
string
The sustainability page section name.
bundles_breakdowncertificatesunsdgErrors
This API operation can return the following errors:400api_version_invalid400bundle_selection_ratios_invalid400bundle_selection_bundle_invalid400order_value_invalid400bundle_id_invalid400id_invalid400distance_invalid400test_account_name_update_disallowed400bundle_selection_ratios_invalid_format400address_not_foundGet the current account's sustainability page
GET to /v1/sustainability-pages/current-accountGet the configuration of the current account's sustainability page.Response
A Sustainability Page represents the entity which enables accounts or client accounts to share their impact publicly.
Upon the first retirement, the Sustainability Page displays certificates with proof of the retired carbon credits and beneficiary.
statusstringrequired
The sustainability page status which determines whether it is visible to the public.
enableddisabledslugstringrequired
Pattern: ^[a-z0-9.-]+$
The sustainability page slug. The slug is used to identify the page publicly and should be unique.
titlestringrequired
The sustainability page title stat format.
by_volumeby_pricedescriptionstringrequirednullable
by_equivalentby_supported_goalsby_custom_descriptioncustom_descriptionstringrequirednullable
The sustainability page custom description. Only displayed when description is set to by_custom_description.
sectionsarrayrequirednullable
The sustainability page sections that will be displayed in the page. Only a single instance of each section type is allowed and the order is irrelevant.
string
The sustainability page section name.
bundles_breakdowncertificatesunsdgErrors
This API operation can return the following errors:400api_version_invalid400bundle_selection_ratios_invalid400bundle_selection_bundle_invalid400order_value_invalid400bundle_id_invalid400id_invalid400distance_invalid400test_account_name_update_disallowed400bundle_selection_ratios_invalid_format400address_not_foundGet a sustainability page
GET to /v1/sustainability-pages/public/{type}/{slug}Query parameters
typestringrequired
The type of the sustainability page.
livetestslugstringrequired
The slug of the sustainability page.
Response
The public sustainability summary page for a given account.
titleoneOfrequired​
The sustainability page title format and info.
descriptiononeOfrequired​
logostringrequirednullable
The sustainability page logo URL.
organisation_logostringrequirednullable
The organisation logo
account_namestringrequired
The name of the account for which the sustainability page is generated.
include_certificatesbooleanrequired
Whether to include the certificates section in the sustainability page.
bundlesarrayrequirednullable
The sustainability page bundle percentages and details.
object
percent_of_totalnumberrequired
The volume of emissions offset via this bundle as a percentage of all offset emissions.
quantitystringrequired
Pattern: ^[0-9]+(\.[0-9]+)?$
The quantity of tCO2 offset via this bundle.
bundleobjectrequired
namestringrequired
The bundle's name
background_colourstringrequirednullable
A bundle's background colour in hexadecimal format
primary_imagestringrequirednullable
A bundle's image URL
primary_image_hiresstringrequirednullable
A bundle's high resolution image URL
small_thumbnailstringrequirednullable
A bundle's small thumbnail image URL
descriptionstringrequirednullable
The bundle's description
offset_typestringrequirednullable
Offset type classification
emissions_reductioncarbon_removalcarbon_permanencestringrequired
The bundle's carbon storage permanence.
long_termshort_termno_storageun_sdgarrayrequirednullable
The list of supported UN Sustainable Development Goals (SDGs).
The array is sorted by the goal number (the un_sdg_number property), ascending.
object
un_sdg_numbernumberrequired
The number which identifies the specific UN SDG.
occurrencesnumberrequired
The total number of projects supporting this UN SDG.
Errors
This API operation can return the following errors:400api_version_invalid400bundle_selection_ratios_invalid400bundle_selection_bundle_invalid400order_value_invalid400bundle_id_invalid400id_invalid400distance_invalid400test_account_name_update_disallowed400bundle_selection_ratios_invalid_format400address_not_foundGet a sustainability page
GET to /v1/sustainability-pages/public/{organisation_id}/{type}/{handle}Query parameters
organisation_idstringrequired
The unique identifier of the organisation this account belongs to
typestringrequired
The type of the sustainability page.
livetesthandlestringrequired
The handle of the sustainability page's account.
Response
The public sustainability summary page for a given account.
titleoneOfrequired​
The sustainability page title format and info.
descriptiononeOfrequired​
logostringrequirednullable
The sustainability page logo URL.
organisation_logostringrequirednullable
The organisation logo
account_namestringrequired
The name of the account for which the sustainability page is generated.
include_certificatesbooleanrequired
Whether to include the certificates section in the sustainability page.
bundlesarrayrequirednullable
The sustainability page bundle percentages and details.
object
percent_of_totalnumberrequired
The volume of emissions offset via this bundle as a percentage of all offset emissions.
quantitystringrequired
Pattern: ^[0-9]+(\.[0-9]+)?$
The quantity of tCO2 offset via this bundle.
bundleobjectrequired
namestringrequired
The bundle's name
background_colourstringrequirednullable
A bundle's background colour in hexadecimal format
primary_imagestringrequirednullable
A bundle's image URL
primary_image_hiresstringrequirednullable
A bundle's high resolution image URL
small_thumbnailstringrequirednullable
A bundle's small thumbnail image URL
descriptionstringrequirednullable
The bundle's description
offset_typestringrequirednullable
Offset type classification
emissions_reductioncarbon_removalcarbon_permanencestringrequired
The bundle's carbon storage permanence.
long_termshort_termno_storageun_sdgarrayrequirednullable
The list of supported UN Sustainable Development Goals (SDGs).
The array is sorted by the goal number (the un_sdg_number property), ascending.
object
un_sdg_numbernumberrequired
The number which identifies the specific UN SDG.
occurrencesnumberrequired
The total number of projects supporting this UN SDG.
Errors
This API operation can return the following errors:404429