Success

code

An authorization code used to obtain your initial ACCESS_TOKEN. The auth code expires after 10 minutes.

state

If the redirect to Smartcar Connect contains a state parameter, that parameter will be returned here.

Success
HTTP/1.1 302 Found
Location: https://example.com/home?
code=90abecb6-e7ab-4b85-864a-e1c8bf67f2ad
&state=0facda3319

Error

For a detailed description of these errors, please see our errors page.

error

The type of error

error_description

A detailed description of what caused the error

state

If the redirect to Smartcar Connect contains a state parameter, that parameter will be returned here.

Error
HTTP/1.1 302 Found
Location: https://example.com/home?
error=access_denied
&error_description=User+denied+access+to+application.
&state=0facda3319

In addition to the error code and description, Smartcar will return the following parameters when a user tries to authorize an incompatible vehicle in Connect.

vin

Can be returned for errors where the vehicle is incompatible.

make

The manufacturer of the vehicle.

model

The model of the vehicle.

year

The year of production of the vehicle.