eDRV uses OAuth2 for authorization. This allows your application to authorize and interact with charge stations using the eDRV API.

API Playground Access Token

To quickly test an endpoint you can use the short-lived token displayed on the admin dashboard > API page.


Production Access Token

There are three steps to get your access token for your Production environment

  1. Get client credentials
  2. Request a Token
  3. Authenticate API requests
  4. Request a new token on expiry. Your application must keep a track of expiring tokens and automatically request a new one.

Client Credentials

Your client credentials can be found in the eDRV admin dashboard.

  "client_id": "S4BTj2Kx8Oe75y64J2QeQ2j2oR1CeDRV",
  "client_secret": "kLaqFRcvB8AbvRVa1pOgFkkO3j_abeN9D2sf2w79Z4Hb2URfdcNybpRigak0de"


Never give your credentials to a third party

Your OAuth Credentials give you access to your private Charge Station data and should be treated like a password.

What’s Next

See how to use your client credentials to obtain an access token