To access energy data as a third party, you must register a developer account and an app. To create a developer account, click here.
Create a new app
The next step is to register an app in your developer account. The registration will provide you with the required information needed to request limited access to the accounts of Metry users.
Click "Create app" under Apps. The name you enter here will appear on the consent screen where the end-user approves your app to access to its meters and consumption data.
- Redirect URI is used to limit the consent screen to only accept redirects to the specified URI. This restricts the client id to only be used from your application. You can also leave it empty.
- Icon: The icon will appear on the consent screen.
Client id and Client secret
The client id is used when starting the approval flow from your app and when creating access tokens. The client secret is used to create tokens and should preferably be used from a secure environment such as your applications server in case you are developing a web based application.
The client secret can only be viewed once. If you lose it, you can contact us at email@example.com to retrieve it for your app or to generate a new one.