POST
/
vehicles
/
{id}
/
navigation
/
destination
curl "https://api.smartcar.com/v2.0/vehicles/{id}/navigation/destination" \
    -H "Authorization: Bearer {token}" \
    -X "POST" \
    -H "Content-Type: application/json" \
    -d '{"latitude": 51.5007, "longitude" : 0.1246}'
{
    "message": "Successfully sent request to vehicle",
    "status": "success"
}   

Permission

control_navigation

Request

Path

id
string
required

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

Body

latitude
number
required

The latitude of the location you wish to set the vehicle’s navigation to.

longitude
number
required

The longitude of the location you wish to set the vehicle’s navigation to.

Response

status
string

If the request is successful, Smartcar will return “success” (HTTP 200 status).

message
string

If the request is successful, Smartcar will return a message (HTTP 200 status).