Tesla
Defroster
Returns the current state of a vehicle's front and rear defroster.
GET
/v2.0/vehicles/{is}/{make}/climate/defroster
This endpoint is currently available for TESLA
Permission
read_climate
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/climate/defroster" \
-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
frontStatus
string
The current state of the front defroster.
rearStatus
string
The current state of the rear defroster.
{
"status": "ON",
"temperature": 20
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/climate/defroster" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"status": "ON",
"temperature": 20
}