GET
/
vehicles
/
{id}
/
battery
/
capacity
curl "https://api.smartcar.com/v2.0/vehicles/{id}/battery/capacity" \
    -H "Authorization: Bearer {token}" \
    -X "GET"
{
    "capacity": 28
}

Permission

read_battery

Request

Path

id
string
required

The vehicle ID of the vehicle you are making a request to.

curl "https://api.smartcar.com/v2.0/vehicles/{id}/battery/capacity" \
    -H "Authorization: Bearer {token}" \
    -X "GET"

Response

capacity
number

The rated capacity of the battery in kWh.

{
    "capacity": 28
}