The official API for ev.energy, version 2.
ev.energy v2 API (2.0)
A resource that represents an individual user in the ev.energy system.
Unique identifier for the given user.
LocationDetail is served when a single user is requested, otherwise Location is served for user lists.
Location model for charging locations.
{ "id": "user01HN2NJ9NMRZBXT1H6FT9N7735", "url": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735", "email": "user@example.com", "default_location": { "address_1": "string", "address_2": "string", "postal_code": "string", "country_code": "AD", "coordinates": { … }, "tariff": "https://api.ev.energy/v2/tariffs/tari01HN2NJ9NMRZBXT1H6FT9N7735", "city": "string", "state": "string", "evse_site": "string" }, "vehicles": [ "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H" ], "evses": [ "https://api.ev.energy/v2/evses/evse01HSH04XHZCT92RN018F0236ZM" ] }
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/users
- Live API for both production and sandbox requests.https://api.ev.energy/v2/users
- Staging server for internal testing only.https://api-staging.ev.energy/v2/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/users?page_before=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_after=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_size=10&expand=default_location.tariff' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'Returns a list of Users.
Provides links to the previous and next pages of data, if they exist.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
Unique identifier for the given user.
LocationDetail is served when a single user is requested, otherwise Location is served for user lists.
Location model for charging locations.
[ { "id": "user01HN2NJ9NMRZBXT1H6FT9N7735", "url": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735", "email": "user@example.com", "default_location": { … }, "vehicles": [ … ], "evses": [ … ] } ]
- application/json
- multipart/form-data
- application/x-www-form-urlencoded
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/users
- Live API for both production and sandbox requests.https://api.ev.energy/v2/users
- Staging server for internal testing only.https://api-staging.ev.energy/v2/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- multipart/form-data
- application/x-www-form-urlencoded
curl -i -X POST \
https://developers.ev.energy/_mock/ev.energy-api-v2/users \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'EvEnergy-Version: 2' \
-d '{
"email": "user@example.com",
"default_location": {
"address_1": "string",
"address_2": "string",
"postal_code": "string",
"country_code": "AD",
"coordinates": {
"latitude": 51.52576576674041,
"longitude": -0.08366433371722264
},
"tariff": "https://api.ev.energy/v2/tariffs/tari01HN2NJ9NMRZBXT1H6FT9N7735",
"city": "string",
"state": "string",
"evse_site": "string"
}
}'User Created Successfully.
Unique identifier for the given user.
LocationDetail is served when a single user is requested, otherwise Location is served for user lists.
Location model for charging locations.
{ "id": "user01HN2NJ9NMRZBXT1H6FT9N7735", "url": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735", "email": "user@example.com", "default_location": { "address_1": "string", "address_2": "string", "postal_code": "string", "country_code": "AD", "coordinates": { … }, "tariff": "https://api.ev.energy/v2/tariffs/tari01HN2NJ9NMRZBXT1H6FT9N7735", "city": "string", "state": "string", "evse_site": "string" }, "vehicles": [ "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H" ], "evses": [ "https://api.ev.energy/v2/evses/evse01HSH04XHZCT92RN018F0236ZM" ] }
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/users/{user_id}
- Live API for both production and sandbox requests.https://api.ev.energy/v2/users/{user_id}
- Staging server for internal testing only.https://api-staging.ev.energy/v2/users/{user_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/users/{user_id}?expand=default_location.tariff' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'Returns a single User.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
Unique identifier for the given user.
LocationDetail is served when a single user is requested, otherwise Location is served for user lists.
Location model for charging locations.
{ "id": "user01HN2NJ9NMRZBXT1H6FT9N7735", "url": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735", "email": "user@example.com", "default_location": { "address_1": "string", "address_2": "string", "postal_code": "string", "country_code": "AD", "coordinates": { … }, "tariff": "https://api.ev.energy/v2/tariffs/tari01HN2NJ9NMRZBXT1H6FT9N7735", "city": "string", "state": "string", "evse_site": "string" }, "vehicles": [ "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H" ], "evses": [ "https://api.ev.energy/v2/evses/evse01HSH04XHZCT92RN018F0236ZM" ] }
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/users/{user_id}
- Live API for both production and sandbox requests.https://api.ev.energy/v2/users/{user_id}
- Staging server for internal testing only.https://api-staging.ev.energy/v2/users/{user_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- multipart/form-data
- application/x-www-form-urlencoded
curl -i -X PATCH \
'https://developers.ev.energy/_mock/ev.energy-api-v2/users/{user_id}?expand=default_location.tariff' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'EvEnergy-Version: 2' \
-d '{
"email": "user@example.com",
"default_location": {
"address_1": "string",
"address_2": "string",
"postal_code": "string",
"country_code": "AD",
"coordinates": {
"latitude": 51.52576576674041,
"longitude": -0.08366433371722264
},
"tariff": "https://api.ev.energy/v2/tariffs/tari01HN2NJ9NMRZBXT1H6FT9N7735",
"city": "string",
"state": "string",
"evse_site": "string"
}
}'User updated successfully.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
Unique identifier for the given user.
LocationDetail is served when a single user is requested, otherwise Location is served for user lists.
Location model for charging locations.
{ "id": "user01HN2NJ9NMRZBXT1H6FT9N7735", "url": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735", "email": "user@example.com", "default_location": { "address_1": "string", "address_2": "string", "postal_code": "string", "country_code": "AD", "coordinates": { … }, "tariff": "https://api.ev.energy/v2/tariffs/tari01HN2NJ9NMRZBXT1H6FT9N7735", "city": "string", "state": "string", "evse_site": "string" }, "vehicles": [ "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H" ], "evses": [ "https://api.ev.energy/v2/evses/evse01HSH04XHZCT92RN018F0236ZM" ] }