Tesla
Vehicle Status
Returns the status for the vehicle.
GET
/v2.0/vehicles/{id}/{make}/status
This endpoint is currently available for TESLA
Permission
read_extended_vehicle_info
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.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/status" \
-H "Authorization: Bearer {token}" \
-X "GET"
Response
state
string
The current state of the vehicle. If the vehicle is asleep, this request will not wake the vehicle.
inService
bool
Indicates if the vehicle is service mode.
gear
string
The current gear shift position.
{
"gear": "DRIVE",
"inService": true,
"state": "ASLEEP"
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/status" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"gear": "DRIVE",
"inService": true,
"state": "ASLEEP"
}