curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/status" \
-H "Authorization: Bearer {token}" \
-X "GET"
status = vehicle.request(
"GET",
"{make}/status"
)
const status = await vehicle.request(
"GET",
"{make}/status"
);
SmartcarVehicleRequest request = new SmartcarVehicleRequest.Builder()
.method("GET")
.path("{make}/status")
.build();
VehicleResponse status = vehicle.request(request);
status = vehicle.request(
"GET",
"{make}/status"
)
{
"status": "ASLEEP",
"inService": true,
"gear": "DRIVE"
}
Tesla
Vehicle Status
Returns the status for the vehicle.
GET
/
v2.0
/
vehicles
/
{id}
/
{make}
/
status
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/status" \
-H "Authorization: Bearer {token}" \
-X "GET"
status = vehicle.request(
"GET",
"{make}/status"
)
const status = await vehicle.request(
"GET",
"{make}/status"
);
SmartcarVehicleRequest request = new SmartcarVehicleRequest.Builder()
.method("GET")
.path("{make}/status")
.build();
VehicleResponse status = vehicle.request(request);
status = vehicle.request(
"GET",
"{make}/status"
)
{
"status": "ASLEEP",
"inService": true,
"gear": "DRIVE"
}
This endpoint is currently available for
teslaPermission
read_extended_vehicle_info
Request
Pathstring
required
The vehicle ID 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"
status = vehicle.request(
"GET",
"{make}/status"
)
const status = await vehicle.request(
"GET",
"{make}/status"
);
SmartcarVehicleRequest request = new SmartcarVehicleRequest.Builder()
.method("GET")
.path("{make}/status")
.build();
VehicleResponse status = vehicle.request(request);
status = vehicle.request(
"GET",
"{make}/status"
)
Response
string
The current status of the vehicle. If the vehicle is asleep, this request will not wake the vehicle.
bool
Indicates if the vehicle is in service mode.
string
Indicates the current gear shift position.
{
"status": "ASLEEP",
"inService": true,
"gear": "DRIVE"
}
Was this page helpful?

