Authorization

The EV landscape is changing rapidly and our ever-evolving API is reflecting that. This results in deprecated fields when there are better solutions or structures.

Step 1

The base URL

Once all credentials are set-up, copy the base URL on the right to start using the API.

Step 2

The headers

After obtaining the base URL, add one or more of the following headers to each request.

x-client-idstringA project id that contains the project configurationRequired
x-app-idstringAn app id for security and splitting up analyticsRequired
x-app-identifierstringAn iOS or Android bundle identifierOptional
x-app-fingerprintstringAn Android SHA fingerprintOptional

Step 3

The authorization process

To communicate with the Chargetrip API, authorization on the endpoints and websocket is required. Authentication should be done on two levels. With every request, an x-client-id and an associated x-app-id is expected. With every project, a default x-app-id is created. It's possible to either use the default one or configure a new one.