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