This page has information regarding Smartcar’s upgraded Tesla integration.
name | type | required | description |
---|---|---|---|
response_type | string | true | This should be set to code . |
make | string | true | Specifies the brand to update access to. Currently, the only make available for this flow is TESLA . |
client_id | string | true | The application’s unique identifier. This is available on the credentials tab of the Smartcar Dashboard. |
scope | [permissions] | true | A space-separated list of permissions that your application is requesting access to. The valid permission names can be found in the permissions section. When reauthenticating, the user will be required to grant the corresponding OEM permissions before being able to exit the flow. |
redirect_uri | string | true | Required if using the /authorize route for Smartcar to return an authorization code. |
required:
prefix to Smartcar scopes in your Connect URL e.g. required:read_location
.
As a result if they do not select the necessary permissions with Tesla, they will see the
following screen and be prompted to return to Tesla to update their permissions.
Smartcar Permission | Tesla Permission |
---|---|
control_charge | Vehicle Charge Management (vehicle_charging_cmds) |
control_climate | Vehicle Commands (vehicle_cmds) |
control_navigation | Vehicle Commands (vehicle_cmds) |
control_pin | Vehicle Commands (vehicle_cmds) |
control_security | Vehicle Commands (vehicle_cmds) |
control_trunk | Vehicle Commands (vehicle_cmds) |
read_battery | Vehicle Information (vehicle_device_data) |
read_charge_records | Vehicle Charge Management (vehicle_charging_cmds) |
read_charge | Vehicle Information (vehicle_device_data) |
read_climate | Vehicle Information (vehicle_device_data) |
read_compass | Vehicle Information (vehicle_device_data) |
read_engine_oil | Vehicle Information (vehicle_device_data) |
read_extended_vehicle_info | Vehicle Information (vehicle_device_data) |
read_fuel | Vehicle Information (vehicle_device_data) |
read_location | Vehicle Location (vehicle_location) |
read_odometer | Vehicle Information (vehicle_device_data) |
read_security | Vehicle Information (vehicle_device_data) |
read_speedometer | Vehicle Information (vehicle_device_data) |
read_thermometer | Vehicle Information (vehicle_device_data) |
read_tires | Vehicle Information (vehicle_device_data) |
read_user_profile | Profile Information (user_data) |
read_vehicle_info | Vehicle Information (vehicle_device_data) |
read_vin | Vehicle Information (vehicle_device_data) |