The official API for ev.energy, version 2.
- VehicleTrim
Vehicle
Vehicle
VehicleTrimCreate
VehicleModelWrite
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
VehicleTrim
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
Fields that can (or must) be set when creating a Vehicle resource.
Example: "https://api.ev.energy/v2/trim/vehicle_trim01HRFHBCM7VBSWRPVYFBQMH2BR"
{ "trim": "https://api.ev.energy/v2/trim/vehicle_trim01HRFHBCM7VBSWRPVYFBQMH2BR", "user": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735" }
A resource representing a "trim level" of a particular vehicle model, which captures a specific set of features.
Unique identifier for the given Vehicle Trim.
Example: "trim01HRFHBCM7VBSWRPVYFBQMH2BR"
Example: "https://api.ev.energy/v2/vehicle_trim/trim01HRFHBCM7VBSWRPVYFBQMH2BR"
A pre-constructed link to initiate onboarding for a vehicle with this trim. If it is null, then we do not support intergrating with this vehicle and you should POST the trim to /vehicles to create an unintegrated vehicle.
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?trim_id=trim01HN2NZ1040Y8E77CQGXADC2TZ&user_id=user01HN2NJ9NMRZBXT1H6FT9N7735"
{ "id": "trim01HRFHBCM7VBSWRPVYFBQMH2BR", "url": "https://api.ev.energy/v2/vehicle_trim/trim01HRFHBCM7VBSWRPVYFBQMH2BR", "name": "Recharge Core (69 kWh)", "model": "http://example.com", "onboarding_url": "https://api.ev.energy/v2/vehicle_onboarding?trim_id=trim01HN2NZ1040Y8E77CQGXADC2TZ&user_id=user01HN2NJ9NMRZBXT1H6FT9N7735" }
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 }