---
title: "Get nav destination"
method: GET
path: "/v1/navigation/{dongleId}/next"
tags: ["navigation"]
---

# Get nav destination

`GET /v1/navigation/{dongleId}/next`

## Request

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

Retrieve next location from database. This was set on Set destination if the device was offline. Next location is removed from the database after this call or when a new destination is set.

## Response `200`

JSON object containing next destination, or null if no destination is set

- union
  - 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
  - 'null'

## Changes

- **2022-12-05** `24f7dbc922ad`: 6 breaking
  - added `#/components/schemas/NavigationDestination, subschema #2` to the response body `oneOf` list for the response status `200`
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `latitude` from the response with the `200` status
  - removed the required property `longitude` from the response with the `200` status
  - …2 more
- **2022-11-27** `5b1478ce801f`: 1 info
  - api tag `navigation` added
- **2022-11-27** `04af598547de`: 2 info
  - the endpoint scheme security `AuthDevice` was added to the API
  - the endpoint scheme security `AuthUser` was added to the API

[Operation history](https://skmtc.dev/comma/apis/comma-api/changes/v1/navigation/:dongleId/next/get.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)
