cURL
curl --request POST \ --url https://api.energy-hub.io/v1.0.0/link/users/{userId}/vendor-accounts/{vendorAccountId}/meters \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "externalMeters": [ "8413731391660801" ] }'
201
example
[ { "isLinked": true, "vendor": "FRONIUS", "name": "Fronius Primary Meter", "externalId": "8413731391660801", "siteName": "My Home", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }]
Connects the provided list of meters from the vendor account to the Energy Hub.
API key used for authorization and authentication.
User ID
Vendor account ID
Object for meters IDs request that should be added to the Energy Hub.
Created
The response is of type object[].
object[]