Skip to content

Authentication

API Authentication with a token parameter

All e4Cars APIs are secured with a token during the call. The token query parameter must contain a valid API key, which allows identifying the user and granting access to various resources managed by the APIs.

API Key: Query param

The URL for API requests must include the token parameter in the query string.

Example URL structure:

/GET /api/v1/4pl/vehicle/12345678890?token=18498cae876943a9aa2c72971645b75b94f801cf08054238977947b169f6cdd5

token Parameter

  • Name: token
  • Type: string
  • Required: yes
  • Description: API key associated with the user and used for authentication. This key is provided during registration or can be generated directly from your user account on the e4Cars application.

The API key corresponds to an E4Cars user.

I have an E4Cars account

Profile Page Image

Once logged in, go to your profile page.

Naming Image

In your profile, under the "API Keys" tab, enter a name, then click Generate.

Generation Image

You now have a new active API key that can be used immediately. At the top right, you can view and copy it.

Don't forget to copy your key!!!

You must copy and save your API key once it is generated.

If you leave the screen or it refreshes, you will no longer be able to view or copy the key. These features are only available immediately after generation and for a limited time.

E4Cars stores API keys in a secure vault, but they are encrypted. We are unable to retrieve them in decrypted form.