---
title: "Mapbox token"
method: GET
path: "/v1/tokens/mapbox/{dongleId}"
tags: ["openpilot auth"]
---

# Mapbox token

`GET /v1/tokens/mapbox/{dongleId}`

## Request

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

Returns a Mapbox token for the specified dongle ID. Authenticated user must have ownership of the dongle ID.

## Response `200`

JSON object containing Mapbox token

- object
  - `token` string, required: Mapbox token

## Changes

- **2022-11-27** `c955909ce683`: 1 info
  - the response property `token` became required for the status `200`
- **2022-11-27** `5b1478ce801f`: 1 info
  - api tag `openpilot auth` 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/tokens/mapbox/:dongleId/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)
