Enode Developers
Latest version

Changelog

RSS

Keep track of updates and new API versions. More on versioning here.

See all updates

Version 2024-01-01

Released

Adds support for Link UI v4, new mobile SDKs and a revamped scopes structure.

This new version supports the new Link UI (v4), the new Link SDKs and introduces revamped scopesAPI and permission flows. For more information about migrating to Link UI v4, please see our migration guide.

Copy linkUpdated device linking endpoint endpoint

Copy linkPayload changes

All experimental and unused fields have been deprecated, and are no longer supported in Link UI v4. For the full payload documentation, refer to the link userAPI endpoint documentation.

ParameterChangeChange description
vendorTypeUpdatedThis field is now required.
forceLanguageRemovedDeprecated, removed and replaced with language.
languageAddedA new required field supporting new i18n locales (e.g. en-US and nb-NO), as well as a browser for defaulting to the user’s browser language.
scopesUpdatedThis field is now required, and accepts new values as specified in the new scopes sectionAPI in the API reference. Old scopes have been deprecated and migrated to the new scopes (no re-linking is required).
redirectUriUpdatedThis field is now required, and will return new error and error_message URL parameters if the user exits the Link UI flow before completing. Additionally, about:blank is no longer allowed. Contact us if your app requires this.
colorSchemeAddedA new optional field for setting the color scheme of Link UI to either light, dark or system (defaults to the user’s operating system color scheme). Defaults to system if not specified.
usernameRemovedThis field was deprecated, and has now been removed.

Copy linkResponse changes

ParameterChangeChange description
linkUrlUpdatedNow follows a new URL scheme, and is deployed on link.enode.com. This is used for presenting Link UI via mobile in-app browsers, or web redirects.
linkStateRemovedThis field has been deprecated and removed.
linkTokenAddedA new field used for initializing the new mobile SDKs for iOS and Android.

Copy linkUpdated asset API endpoints

As part of the new scopesAPI updates, all asset-related API endpoints now return a scope property with the scopes granted to the asset.

EndpointChangeChange description
GET /batteriesUpdatedAsset objects now include a new scopes property.
GET /chargersUpdatedAsset objects now include a new scopes property.
GET /hvacsUpdatedAsset objects now include a new scopes property.
GET /invertersUpdatedAsset objects now include a new scopes property.
GET /metersUpdatedAsset objects now include a new scopes property.
GET /vehiclesUpdatedAsset objects now include a new scopes property.
GET /batteries/<assetId>UpdatedAsset objects now include a new scopes property.
GET /chargers/<assetId>UpdatedAsset objects now include a new scopes property.
GET /hvacs/<assetId>UpdatedAsset objects now include a new scopes property.
GET /inverters/<assetId>UpdatedAsset objects now include a new scopes property.
GET /meters/<assetId>UpdatedAsset objects now include a new scopes property.
GET /vehicles/<assetId>UpdatedAsset objects now include a new scopes property.
UPDATE /batteries/<assetId>UpdatedAsset objects now include a new scopes property.
UPDATE /chargers/<assetId>UpdatedAsset objects now include a new scopes property.
UPDATE /hvacs/<assetId>UpdatedAsset objects now include a new scopes property.
UPDATE /inverters/<assetId>UpdatedAsset objects now include a new scopes property.
UPDATE /meters/<assetId>UpdatedAsset objects now include a new scopes property.
UPDATE /vehicles/<assetId>UpdatedAsset objects now include a new scopes property.

Pass 2024-01-01 as your version header to use this new version.