GET
/
vehicles
/
{id}
/
{make}
/
compass
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/compass" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
  "direction": "SW",
  "heading": 185
}

This endpoint is currently available for tesla

Permission

read_compass

Request

Path

id
string
required

The vehicle ID of the vehicle you are making a request to.

make
string
required

The make of the vehicle you are making a request to.

Response

direction
string

The current direction of the vehicle.

heading
number

The current compass heading of the vehicle (in degrees).