Authorization

The Chargetrip API uses special HTTP headers to authenticate requests. You can view and manage your credentials in the dashboard.

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

Authorization headers

To communicate with the Chargetrip API, you must authenticate each request with the headers x-client-id and x-app-id. By default, a unique x-app-id is generated for each project. You can either use this default x-app-id or configure a new one according to your requirements.