The official API for ev.energy, version 2.
- Retrieve an EVSE
ev.energy v2 API (2.0)
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/evses
- Live API for both production and sandbox requests.https://api.ev.energy/v2/evses
- Staging server for internal testing only.https://api-staging.ev.energy/v2/evses
- 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/evses?page_before=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_after=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_size=10&expand=user' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'Returns a list of EVSEs.
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 EVSE.
An expandable reference to the most recent status log for this EVSE. This can be requested or expanded to get the most accurate information we have on the device's current status.
An expandable reference to the most recent status log for this EVSE. This can be requested or expanded to get the most accurate information we have on the device's current status.
Provides a pre-constructed URL to list charging sub-sessions involving this EVSE.
[ { "id": "evse01HSH04KDEWF6Z4DB2J77J74K5", "url": "https://api.ev.energy/v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5", "model": "https://api.ev.energy/v2/evse_models/emod01HS9A004X5TB5JCMHENB5Z446", "user": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735", "latest_status_log": "https://api.ev.energy/v2/evse/evse01HSH04KDEWF6Z4DB2J77J74K5/status_logs/2024-01-01T11:11:11.1111Z/", "charging_sub_sessions": "https://api.ev.energy/charging_sub_sessions/?evse_id=evse01HSH04KDEWF6Z4DB2J77J74K5" } ]
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/evses/{evse_id}
- Live API for both production and sandbox requests.https://api.ev.energy/v2/evses/{evse_id}
- Staging server for internal testing only.https://api-staging.ev.energy/v2/evses/{evse_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/evses/evse01HSH04KDEWF6Z4DB2J77J74K5?expand=user' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'Returns a single EVSE.
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 EVSE.
An expandable reference to the most recent status log for this EVSE. This can be requested or expanded to get the most accurate information we have on the device's current status.
An expandable reference to the most recent status log for this EVSE. This can be requested or expanded to get the most accurate information we have on the device's current status.
{ "id": "evse01HSH04KDEWF6Z4DB2J77J74K5", "url": "https://api.ev.energy/v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5", "model": { "id": "emod01HS9A004X5TB5JCMHENB5Z446", "name": "EVWC2S22", "make": { … } }, "user": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735" }
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/evses/{evse_id}
- Live API for both production and sandbox requests.https://api.ev.energy/v2/evses/{evse_id}
- Staging server for internal testing only.https://api-staging.ev.energy/v2/evses/{evse_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://developers.ev.energy/_mock/ev.energy-api-v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'The EVSE has been decommissioned 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.
The number of requests remaining until this client's rate limit is reached.
No content