Authentication
Introduction
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
- Get client credentials
- Request a Token
- Authenticate API requests
- 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.
Updated 7 months ago