navigation

Set nav destination

Changed on

Set destination for navigation. Authenticated user must have ownership of the dongle ID.

post/v1/navigation/{dongleId}/set_destination

Request

  • Base URL
    https://api.comma.ai
  • Auth
    HTTP bearer

Request body

place_namestring required

Short name of destination

place_detailsstring required

Address details of destination. Should not include short name.

latitudenumber required

Latitude, decimal degrees

longitudenumber required

Longitude, decimal degrees

Example request

{
  "place_name": "1441 State St",
  "place_details": "San Diego, CA 92101, United States",
  "latitude": 32.72045,
  "longitude": -117.16621
}

Response

Destination set

successtrue required
saved_nextboolean required

True if the destination was stored and will be applied when the device is next online. False if the destination was set immediately.

Changes