---
title: "Set nav destination"
method: POST
path: "/v1/navigation/{dongleId}/set_destination"
tags: ["navigation"]
---

# Set nav destination

`POST /v1/navigation/{dongleId}/set_destination`

## Request

- Base URL: `https://api.comma.ai`
- URL: `https://api.comma.ai/v1/navigation/{dongleId}/set_destination`
- Auth: HTTP bearer

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

## Request body

- NavigationDestination
  - `place_name` string, required: Short name of destination
  - `place_details` string, required: Address details of destination. Should not include short name.
  - `latitude` number, required: Latitude, decimal degrees
  - `longitude` number, required: Longitude, decimal degrees

## Response `200`

Destination set

- object
  - `success` true, required
  - `saved_next` boolean, 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

- **2022-11-27** `c955909ce683`: 2 info
  - the response property `saved_next` became required for the status `200`
  - the response property `success` became required for the status `200`
- **2022-11-27** `5b1478ce801f`: 1 info
  - api tag `navigation` added
- **2022-11-27** `04af598547de`: 1 info
  - the endpoint scheme security `AuthUser` was added to the API

[Operation history](https://skmtc.dev/comma/apis/comma-api/changes/v1/navigation/:dongleId/set_destination/post.md)

---

[API](https://skmtc.dev/comma/apis/comma-api.md) - [All operations](https://skmtc.dev/comma/apis/comma-api/llms.txt) - [OpenAPI document](https://skmtc.dev/comma/apis/comma-api/revisions/24f7dbc922ad?raw)
