POST
/
v1.0.0
/
connections
/
vehicles
{
  "url": "https://svc-connect.energy-hub.io/bea09c5f-9d37-4562-b54a-dedb48d7aaf4/redirect"
}

Authorizations

X-API-KEY
string
headerrequired

ApiKey used for authorization and authentication

Query Parameters

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

Body

application/json

An object containing relevant information for linking to vendor account for vehicle vendor

redirectUrl
string
required

The URL to which user will be redirected

Maximum length: 2048
vendor
enum<string>
required

The vehicle vendor enum to start the connect session.

Available options:
TESLA,
MERCEDES,
BMW,
MINI,
VW
userId
string
required

The ID of the user for which to create the connect session.

Maximum length: 50

Response

201 - application/json

An object containing url which is used to redirect the user to IDP login portal.

url
string
required

The connect URL to follow for redirect to vendor IDP.