---
title: "Get token"
method: GET
path: "/token/{id}"
tags: ["Token"]
---

# Get token

`GET /token/{id}`

Get the personal access token with the given ID.

## Path parameters

- `id` string, required — ID of the personal token to get.

## Response `200`

Personal access token.

- object
  - `data` Token, required — A personal access token used to access the Terminal API. If you leak this, expect large sums of coffee to be ordered on your credit card.
    - `id` string, required — Unique object identifier. The format and length of IDs may change over time.
    - `created` string, required — The created time for the token.
    - `token` string, required — Personal access token (obfuscated).

## Other responses

- `401` — Unauthorized - Authentication is required and has failed or has not been provided.
- `404` — Not Found - The requested resource does not exist.
- `429` — Too Many Requests - You have made too many requests in a short period of time.
- `500` — Internal Server Error - Something went wrong on our end.

## Changes

- **2025-03-07** `979a6c40552c` — 2 breaking, 4 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `404`
  - removed the required property `error` from the response with the `404` status
  - added `#/components/schemas/ErrorResponse` to the response body `allOf` list for the response status `404`
  - added the non-success response with the status `401`
  - …2 more
- **2025-02-26** `63020ea66b47` — 1 breaking, 1 info
  - removed the required property `data/allOf[#/components/schemas/Token]/time` from the response with the `200` status
  - added the required property `data/allOf[#/components/schemas/Token]/created` to the response with the `200` status
- **2024-12-18** `416a8af6f912` — 2 info
  - api tag `Token` added
  - api tag `Access` removed
- **2024-12-17** `967b257f759f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/token/:id/get.md)

---

[API](https://skmtc.dev/terminaldotshop/apis/terminal-api.md) · [All operations](https://skmtc.dev/terminaldotshop/apis/terminal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/terminaldotshop/terminal-api/revisions/cb50019f2425/schema)
