POST
/
v1.0.0
/
connections
/
hvacs
Connect URL for a HVAC vendor
curl --request POST \
  --url https://api.energy-hub.io/v1.0.0/connections/hvacs \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "redirectUrl": "https://www.redirectable-partners-website.com/v1.0.0/endpoint/bea09c5f-9d37-4562-b54a-dedb48d7aaf4",
  "vendor": "VIESSMANN",
  "userId": "896f9d5a-b618-48a2-98ae-957059bf1bc9"
}'
{
  "url": "https://svc-connect.energy-hub.io/bea09c5f-9d37-4562-b54a-dedb48d7aaf4/redirect"
}

Authorizations

X-API-KEY
string
header
required

API key used for authorization and authentication.

Query Parameters

theme
enum<string>
Available options:
DARK,
LIGHT
language
enum<string>
Available options:
ENGLISH,
GERMAN,
FRENCH

Body

application/json

An object containing relevant information to link HVAC vendor accounts.

Response

Created

An object containing the URL which is used to redirect the user to the connect page or vendor login.