The official API for ev.energy, version 2.
- VehicleModelWrite
Vehicle
Vehicle
VehicleTrim
VehicleTrimCreate
VehicleModel
VehicleMake
VehicleStatusLog
VehicleAPIErrorLog
VehicleLocationLog
VehicleCommandLog
List vehicles
Create unintegrated vehicle
Retrieve a vehicle
Update a vehicle
Remove a vehicle
List vehicle trims
Create a custom vehicle trim
Retrieve a vehicle trim
List vehicle models
Create vehicle model
Retrieve a vehicle model
List vehicle makes
Retrieve a vehicle make
List status logs for a vehicle
Retrieve a specific status log for a vehicle
List API error logs for a vehicle
Retrieve a specific API error log for a vehicle
List location logs for a vehicle
Retrieve a specific location log for a vehicle
List command logs for a vehicle
Retrieve a specific command log for a vehicle
Initiate vehicle onboarding
Create reconnection URL
VehicleModelWrite
ev.energy v2 API (2.0)
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developers.ev.energy/_mock/ev.energy-api-v2
Live API for both production and sandbox requests.
https://api.ev.energy/v2
Staging server for internal testing only.
https://api-staging.ev.energy/v2
Request body for creating a custom vehicle trim.
URL reference to the vehicle model this trim belongs to.
Example: "https://api.ev.energy/v2/vehicle_models/vmod01HSBR8Z36GD7A46K7M4R12VG0"
{ "name": "Custom Trim", "model": "https://api.ev.energy/v2/vehicle_models/vmod01HSBR8Z36GD7A46K7M4R12VG0", "battery_size_watt_hours": 75500 }
Fields that must be set when creating a VehicleModel resource.
{ "name": "Model 3", "make": "https://api.ev.energy/v2/vehicle_makes/vmak01HRFHBCM7VBSWRPVYFBQMH2BR" }
A resource representing a model of vehicle.
Unique identifier for the given Vehicle Model.
Example: "vmod01HSBR8Z36GD7A46K7M4R12VG0"
Example: "https://api.ev.energy/vehicle_models/vmod01HSBR8Z36GD7A46K7M4R12VG0"
A pre-constructed link to initiate onboarding for a vehicle of this model. If it is null, then it cannot be onboarded with model alone. You should filter the list of vehicle trims by this model and then have the user select their trim.
Note: if you are using client credentials authentication, the user ID will not be automatically included unless you set the EvEnergy-User header on your request.
Example: "https://api.ev.energy/v2/vehicle_onboarding?model_id=vmod01HN2P436099PEQ20B7TKPGTEJ&user_id=user01HN2NJ9NMRZBXT1H6FT9N7735"
{ "id": "vmod01HSBR8Z36GD7A46K7M4R12VG0", "url": "https://api.ev.energy/vehicle_models/vmod01HSBR8Z36GD7A46K7M4R12VG0", "name": "C40", "make": "https://api.ev.energy/v2/vehicle_makes/vmak01HRFHBCM7VBSWRPVYFBQMH2BR", "onboarding_url": "https://api.ev.energy/v2/vehicle_onboarding?model_id=vmod01HN2P436099PEQ20B7TKPGTEJ&user_id=user01HN2NJ9NMRZBXT1H6FT9N7735", "trims": "https://api.ev.energy/vehicle_trims?model_id=vmod01HN2P436099PEQ20B7TKPGTEJ" }