Vehicle Endpoints
Vehicle Info
Returns a single vehicle object, containing identifying information.
GET
/v2.0/vehicles/{id}
Permission
read_vehicle_info
Request
Path
idrequired
string
The vehicle id of the vehicle you are making a request to.
curl "https://api.smartcar.com/v2.0/vehicles/{id}" \
-H "Authorization: Bearer {token}" \
-X "GET"
Response
id
string
The id for the vehicle.
make
string
The manufacturer of the vehicle.
model
string
The model of the vehicle.
id
integer
The model year.
{
"id": "36ab27d0-fd9d-4455-823a-ce30af709ffc",
"make": "TESLA",
"model": "Model S",
"year": "2014"
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"id": "36ab27d0-fd9d-4455-823a-ce30af709ffc",
"make": "TESLA",
"model": "Model S",
"year": "2014"
}