Electric Vehicles
Charge Status
Returns the charge status for the vehicle.
GET
/v2.0/vehicles/{id}/charge
Permission
read_charge
Request
Path
idrequired
string
The vehicle id of the vehicle you are making a request to.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/charge" \
-H "Authorization: Bearer {token}" \
-X "GET"
Response
isPluggedIn
bool
Indicates whether a charging cable is currently plugged into the vehicle’s charge port.
state
string
Indicates whether the vehicle is currently charging.
{
"isPluggedIn": true,
"state": "FULLY_CHARGED"
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}/charge" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"isPluggedIn": true,
"state": "FULLY_CHARGED"
}