Overview
- GET /v2.0/vehicles/{vehicle_id}/tesla/status
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/status
- GET /v2.0/vehicles/{vehicle_id}/tesla/attributes
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/attributes
- GET /v2.0/vehicles/{vehicle_id}/tesla/charge/ammeter
- POST /v2.0/vehicles/{vehicle_id}/tesla/charge/ammeter
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/ammeter
- GET /v2.0/vehicles/{vehicle_id}/tesla/charge/completion
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/completion
- GET /v2.0/vehicles/{vehicle_id}/tesla/charge/records
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/records
- GET /v2.0/vehicles/{vehicle_id}/tesla/charge/records/billing
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/records/billing
- GET /v2.0/vehicles/{vehicle_id}/tesla/charge/schedule
- POST /v2.0/vehicles/{vehicle_id}/tesla/charge/schedule
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/schedule
- GET /v2.0/vehicles/{vehicle_id}/tesla/charge/wattmeter
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/wattmeter
- GET /v2.0/vehicles/{vehicle_id}/tesla/charge/voltmeter
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/voltmeter
- GET /v2.0/vehicles/{vehicle_id}/tesla/thermometer/exterior
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/thermometer/exterior
- GET /v2.0/vehicles/{vehicle_id}/tesla/thermometer/interior
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/thermometer/interior
- GET /v2.0/vehicles/{vehicle_id}/tesla/compass
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/compass
- GET /v2.0/vehicles/{vehicle_id}/tesla/speedometer
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/speedometer
- GET /v2.0/vehicles/{vehicle_id}/tesla/cabin/climate
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/cabin/climate
- POST /v2.0/vehicles/{vehicle_id}/tesla/climate/cabin
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/climate/cabin
- GET /v2.0/vehicles/{vehicle_id}/tesla/cabin/defroster
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/cabin/defroster
- POST /v2.0/vehicles/{vehicle_id}/tesla/climate/defroster
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/climate/defroster
- GET /v2.0/vehicles/{vehicle_id}/tesla/climate/steering_wheel
- POST /v2.0/vehicles/{vehicle_id}/tesla/climate/steering_wheel
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/climate/steering_wheel
- GET /v2.0/vehicles/{vehicle_id}/tesla/virtual_key
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/virtual_key
- GET /v2.0/vehicles/{vehicle_id}/{make}/charge/voltmeter
- PARAMETERS /v2.0/vehicles/{vehicle_id}/{make}/charge/voltmeter
- GET /v2.0/vehicles/{vehicle_id}/{make}/charge/completion
- PARAMETERS /v2.0/vehicles/{vehicle_id}/{make}/charge/completion
- GET /v2.0/vehicles/{vehicle_id}/{make}/charge/records
- PARAMETERS /v2.0/vehicles/{vehicle_id}/{make}/charge/records
- GET /v2.0/vehicles/{vehicle_id}/{make}/charge/schedule_by_location
- PUT /v2.0/vehicles/{vehicle_id}/{make}/charge/schedule_by_location
- PARAMETERS /v2.0/vehicles/{vehicle_id}/{make}/charge/schedule_by_location
- GET /v2.0/vehicles/{vehicle_id}/nissan/charge/schedule
- POST /v2.0/vehicles/{vehicle_id}/nissan/charge/schedule
- PARAMETERS /v2.0/vehicles/{vehicle_id}/nissan/charge/schedule
- GET /v2.0/user
- GET /v2.0/vehicles/
- GET /v2.0/vehicles/{vehicle_id}/permissions
- PARAMETERS /v2.0/vehicles/{vehicle_id}/permissions
- GET /v2.0/vehicles/{vehicle_id}
- PARAMETERS /v2.0/vehicles/{vehicle_id}
- GET /v2.0/vehicles/{vehicle_id}/odometer
- PARAMETERS /v2.0/vehicles/{vehicle_id}/odometer
- GET /v2.0/vehicles/{vehicle_id}/location
- PARAMETERS /v2.0/vehicles/{vehicle_id}/location
- GET /v2.0/vehicles/{vehicle_id}/tires/pressure
- PARAMETERS /v2.0/vehicles/{vehicle_id}/tires/pressure
- GET /v2.0/vehicles/{vehicle_id}/security
- PARAMETERS /v2.0/vehicles/{vehicle_id}/security
- POST /v1.0/vehicles/{vehicle_id}/security
- PARAMETERS /v1.0/vehicles/{vehicle_id}/security
- GET /v2.0/vehicles/{vehicle_id}/fuel
- PARAMETERS /v2.0/vehicles/{vehicle_id}/fuel
- GET /v2.0/vehicles/{vehicle_id}/engine/oil
- PARAMETERS /v2.0/vehicles/{vehicle_id}/engine/oil
- GET /v2.0/vehicles/{vehicle_id}/battery
- PARAMETERS /v2.0/vehicles/{vehicle_id}/battery
- GET /v2.0/vehicles/{vehicle_id}/battery/capacity
- PARAMETERS /v2.0/vehicles/{vehicle_id}/battery/capacity
- GET /v2.0/vehicles/{vehicle_id}/charge/limit
- POST /v2.0/vehicles/{vehicle_id}/charge/limit
- PARAMETERS /v2.0/vehicles/{vehicle_id}/charge/limit
- GET /v2.0/vehicles/{vehicle_id}/charge
- POST /v2.0/vehicles/{vehicle_id}/charge
- PARAMETERS /v2.0/vehicles/{vehicle_id}/charge
- GET /v2.0/compatibility
- DELETE /v2.0/vehicles/{vehicle_id}/application
- PARAMETERS /v2.0/vehicles/{vehicle_id}/application
- POST /v2.0/vehicles/{vehicle_id}/webhooks/{webhook_id}
- DELETE /v2.0/vehicles/{vehicle_id}/webhooks/{webhook_id}
- PARAMETERS /v2.0/vehicles/{vehicle_id}/webhooks/{webhook_id}
GET /v2.0/vehicles/{vehicle_id}/tesla/status
Summary: Vehicle Status
Vehicle Status
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/status
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/attributes
Summary: Extended Vehicle Info - Tesla
Extended Vehicle Info - Tesla
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/attributes
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/charge/ammeter
Summary: Amperage
Amperage
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/tesla/charge/ammeter
Summary: Amperage
Amperage
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/ammeter
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/charge/completion
Summary: Charge Completion Time
Charge Completion Time
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/completion
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/charge/records
Summary: Charge Records
Charge Records
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/records
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/charge/records/billing
Summary: Charge Billing Records
Charge Billing Records
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/records/billing
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/charge/schedule
Summary: Charge Schedule
Charge Schedule
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/tesla/charge/schedule
Summary: Charge Schedule
Charge Schedule
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/schedule
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/charge/wattmeter
Summary: Wattage
Wattage
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/wattmeter
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/charge/voltmeter
Summary: Voltage
Voltage
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/charge/voltmeter
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/thermometer/exterior
Summary: Exterior Temperature
Exterior Temperature
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/thermometer/exterior
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/thermometer/interior
Summary: Interior Temperature
Interior Temperature
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/thermometer/interior
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/compass
Summary: Compass
Compass
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/compass
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/speedometer
Summary: Speed
Speed
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/speedometer
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/cabin/climate
Summary: Cabin Climate
Cabin Climate
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/cabin/climate
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/tesla/climate/cabin
Summary: Cabin Climate
Cabin Climate
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/climate/cabin
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/cabin/defroster
Summary: Defroster
Defroster
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/cabin/defroster
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/tesla/climate/defroster
Summary: Defroster
Defroster
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/climate/defroster
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/climate/steering_wheel
Summary: Steering Heater
Steering Heater
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/tesla/climate/steering_wheel
Summary: Steering Heater
Steering Heater
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/climate/steering_wheel
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tesla/virtual_key
Summary: Virtual Key Status
Virtual Key Status
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tesla/virtual_key
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/{make}/charge/voltmeter
Summary: Voltage
Voltage
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/{make}/charge/voltmeter
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/{make}/charge/completion
Summary: Charge Completion Time
Charge Completion Time
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/{make}/charge/completion
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/{make}/charge/records
Summary: Charge Records
Charge Records
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/{make}/charge/records
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/{make}/charge/schedule_by_location
Summary: Charge Schedule by Location
Charge Schedule by Location
OpenAPI snippet URL
PUT /v2.0/vehicles/{vehicle_id}/{make}/charge/schedule_by_location
Summary: Charge Schedule by Location
Charge Schedule by Location
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/{make}/charge/schedule_by_location
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/nissan/charge/schedule
Summary: Charge Schedule
Charge Schedule
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/nissan/charge/schedule
Summary: Charge Schedule
Charge Schedule
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/nissan/charge/schedule
OpenAPI snippet URL
GET /v2.0/user
Summary: User
Description
Returns a paged list of all vehicles connected to the application for the current authorized user.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | false | Number of vehicles to return (default: 10). |
offset | integer | false | A vehicle ID (UUID v4). |
Response Body
| Name | Type | Desciprtion |
|---|---|---|
vehicles | array | An array of vehicle IDs. |
vehicles.[] | string | A vehicle ID (UUID v4). |
paging | object | Metadata about the current list of elements. |
paging.count | integer | The total number of elements for the entire query (not just the given page). |
paging.offset | integer | The current start index of the returned list of elements. |
OpenAPI snippet URL
GET /v2.0/vehicles/
Summary: All Vehicles
Description
Returns a paged list of all vehicles connected to the application for the current authorized user.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | false | Number of vehicles to return (default: 10). |
offset | integer | false | A vehicle ID (UUID v4). |
Response Body
| Name | Type | Desciprtion |
|---|---|---|
vehicles | array | An array of vehicle IDs. |
vehicles.[] | string | A vehicle ID (UUID v4). |
paging | object | Metadata about the current list of elements. |
paging.count | integer | The total number of elements for the entire query (not just the given page). |
paging.offset | integer | The current start index of the returned list of elements. |
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/permissions
Summary: Application Permissions
Description
Returns a list of the permissions that have been granted to your application in relation to this vehicle.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | false | Number of permissions to return (default: 25). |
offset | integer | false | A vehicle ID (UUID v4). |
Response Body
| Name | Type | Desciprtion |
|---|---|---|
permissions | array | An array of permissions. |
permissions.[] | string | A permission. |
paging | object | Metadata about the current list of elements. |
paging.count | integer | The total number of elements for the entire query (not just the given page). |
paging.offset | integer | The current start index of the returned list of elements. |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/permissions
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}
Summary: Vehicle Info
Permission
Returns a single vehicle object, containing identifying information.
Permission
read_vehicle_info
Response Body
| Name | Type | Description |
|---|---|---|
id | string | A vehicle ID (UUID v4). |
make | string | The manufacturer of the vehicle. |
model | integer | The model of the vehicle. |
year | integer | The model year. |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/odometer
Summary: Odometer
Description
Returns the vehicle’s last known odometer reading.
Permission
read_odometer
Response Body
| Name | Type | Desciprtion |
|---|---|---|
distance | number | The current odometer of the vehicle (in kilometers by default or in miles using the sc-unit-system). |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/odometer
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/location
Summary: Location
Description
Retrieve latitude and longitude of a vehicle.
Permission
read_location
Response Body
| Name | Type | Desciprtion |
|---|---|---|
latitude | number | The latitude (in degrees). |
longitude | number | The longitude (in degrees). |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/location
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/tires/pressure
Summary: Tire pressure
Description
Returns the air pressure of each of the vehicle’s tires. Permission
read_tires
Example Response
| Name | Type | Description |
|---|---|---|
frontLeft | number | The current air pressure of the front left tire (in kilopascals by default or in pounds per square inch using the sc-unit-system). |
frontRight | number | The current air pressure of the front right tire (in kilopascals by default or in pounds per square inch using the sc-unit-system). |
backLeft | number | The current air pressure of the back left tire (in kilopascals by default or in pounds per square inch using the sc-unit-system). |
backRight | number | The current air pressure of the back right tire (in kilopascals by default or in pounds per square inch using the sc-unit-system). |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/tires/pressure
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/security
Summary: Lock Status
Lock Status
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/security
OpenAPI snippet URL
POST /v1.0/vehicles/{vehicle_id}/security
Summary: Lock Vehicle
Description
Lock the vehicle
Permission
control_security
Response body
| Name | Type | Boolean |
|---|---|---|
| status | string | If the request is successful, Smartcar will return “success” (HTTP 200 status). |
OpenAPI snippet URL
PARAMETERS /v1.0/vehicles/{vehicle_id}/security
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/fuel
Summary: Fuel Tank
Description
Returns the status of the fuel remaining in the vehicle’s gas tank. Note: The fuel tank API is only available for vehicles sold in the United States.
Permission
read_fuel
Response Body
| Name | Type | Desciprtion |
|---|---|---|
range | number | The estimated remaining distance the car can travel (in kilometers by default or in miles using the sc-unit-system). |
percentRemaining | number | The remaining level of fuel in the tank (in percent). |
amountRemaining | number | The amount of fuel in the tank (in liters by default or in gallons (U.S.) using the sc-unit-system). |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/fuel
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/engine/oil
Summary: Engine Oil Life
Description
Returns the remaining life span of a vehicle’s engine oil.
Permission
read_engine_oil
Response body
| Name | Type | Boolean |
|---|---|---|
lifeRemaining | number | The engine oil’s remaining life span (as a percentage). Oil life is based on the current quality of the oil. (in percent). |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/engine/oil
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/battery
Summary: EV Battery Level
Description
Retrieve EV battery level of a vehicle.
Permission
read_battery
Response body
| Name | Type | Boolean |
|---|---|---|
percentRemaining | number | An EV battery’s state of charge (in percent). |
range | number | The estimated remaining distance the vehicle can travel (in kilometers by default or in miles using the sc-unit-system. |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/battery
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/battery/capacity
Summary: EV Battery Capacity
Description
Returns the total capacity of an electric vehicle’s battery.
Permission
read_battery
Response body
| Name | Type | Boolean |
|---|---|---|
| capacity | number | The total capacity of the vehicle’s battery (in kilowatt-hours). |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/battery/capacity
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/charge/limit
Summary: EV Charge Limit
EV Charge Limit
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/charge/limit
Summary: EV Charge Limit
EV Charge Limit
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/charge/limit
OpenAPI snippet URL
GET /v2.0/vehicles/{vehicle_id}/charge
Summary: EV Charge Status
Description
Returns the current charge status of an electric vehicle.
Permission
read_charge
Response body
| Name | Type | Boolean |
|---|---|---|
isPluggedIn | boolean | Indicates whether a charging cable is currently plugged into the vehicle’s charge port. |
state | string | Indicates whether the vehicle is currently charging. Options: CHARGING FULLY_CHARGED NOT_CHARGING |
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/charge
Summary: Control Charge
Control Charge
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/charge
OpenAPI snippet URL
GET /v2.0/compatibility
Summary: Compatibility
In the US, compatibility will return a breakdown by scope of what a car is capable of. In Europe, the check is based on the make of the car so will return only a true or false
The Compatibility API lets developers determine whether a given vehicle is compatible with Smartcar and whether it is capable of the features their application requires. Using this endpoint, developers can determine whether specific vehicles are eligible before sending a user through Smartcar Connect.
A compatible vehicle is one that:
- Has the hardware required for internet connectivity
- Belongs to the makes and models Smartcar is compatible with in the vehicle’s country
A vehicle is capable of given feature if:
- The vehicle supports the feature (e.g., a Ford Escape supports /fuel but a Mustang Mach-e does not)
- Smartcar supports the feature for the vehicle’s make
Note: The Compatibility API is currently available for vehicles sold in the United States. For other countries, please contact us to request early access. Our initial release for vehicles sold outside of the United States only supports checking compatibility. It does not yet support checking capabilities.
| Name | Type | Boolean |
|---|---|---|
| compatible | boolean | true if the vehicle is likely compatible.*, false otherwise. |
| reason | string | null | One of the enum values described below if compatible is false, null otherwise. |
| capabilities | array | An array containing the set of endpoints that the provided scope value can provide authorization for. This array will be empty if compatible is false |
| capabilities[].permission | string | One of the permissions provided in the scope parameter. |
| capabilities[].endpoint | string | One of the endpoints that the permission authorizes access to. |
| capabilities[].capable | boolean | true if the vehicle is likely capable of this feature.*, false otherwise. |
| capabilities[].reason | string | null | One of the enum values described below if capable is false, null otherwise. |
Note: The compatibility of a vehicle depends on many factors including its make, model, model year, trim, package, and head unit. The Smartcar Compatibility API is optimized to return false positives rather than false negatives.
Enum Values
| Parameter | Value | Description |
|---|---|---|
| reason | VEHICLE_NOT_COMPATIBLE | The vehicle does not have the hardware required for internet connectivity. |
| MAKE_NOT_COMPATIBLE | Smartcar is not yet compatible with the vehicle’s make in the specified country. | |
| capabilities[].reason | VEHICLE_NOT_CAPABLE | TThe vehicle does not support this feature. |
| SMARTCAR_NOT_CAPABLE | Smartcar is not capable of supporting the given feature on the vehicle’s make. |
OpenAPI snippet URL
DELETE /v2.0/vehicles/{vehicle_id}/application
Summary: Revoke Access
Description
Revoke access for the current requesting application. This is the correct way to disconnect a vehicle.
Response body
| Name | Type | Boolean |
|---|---|---|
| status | string | If the request is successful, Smartcar will return “success” (HTTP 200 status). |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/application
OpenAPI snippet URL
POST /v2.0/vehicles/{vehicle_id}/webhooks/{webhook_id}
Summary: Subscribe
Description
Returns the current charge status of an electric vehicle.
Permission
read_charge
Response body
| Name | Type | Boolean |
|---|---|---|
isPluggedIn | boolean | Indicates whether a charging cable is currently plugged into the vehicle’s charge port. |
state | string | Indicates whether the vehicle is currently charging. Options: CHARGING FULLY_CHARGED NOT_CHARGING |
OpenAPI snippet URL
DELETE /v2.0/vehicles/{vehicle_id}/webhooks/{webhook_id}
Summary: Unsubscribe
Description
Returns the current charge status of an electric vehicle.
Permission
read_charge
Response body
| Name | Type | Boolean |
|---|---|---|
isPluggedIn | boolean | Indicates whether a charging cable is currently plugged into the vehicle’s charge port. |
state | string | Indicates whether the vehicle is currently charging. Options: CHARGING FULLY_CHARGED NOT_CHARGING |
OpenAPI snippet URL
PARAMETERS /v2.0/vehicles/{vehicle_id}/webhooks/{webhook_id}
OpenAPI snippet URL