Tesla
Amperage
When the vehicle is charging, returns the charging amperage measured by the vehicle. When the vehicle is not charging, this endpoint results in a vehicle state error.
GET
/v2.0/vehicles/{id}/{make}/charge/ammeter
This endpoint is currently available for TESLA
Permission
read_charge
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/ammeter" \
-H "Authorization: Bearer {token}" \
-X "GET"
Request
Path
idrequired
string
The vehicle id of the vehicle you are making a request to.
makerequired
string
The make of the vehicle you are making a request to.
Response
amperage
number
The rate that the vehicle is charging at (in amperes).
{
"amperage": 30
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/ammeter" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"amperage": 30
}