---
title: "Create token"
method: POST
path: "/token"
tags: ["Token"]
---

# Create token

`POST /token`

Create a personal access token.

## Response `200`

Personal access token ID and value.

- object
  - `data` object, required
    - `id` string, required — Personal token ID.
    - `token` string, required — Personal access token. Include this in the Authorization header (`Bearer <token>`) when accessing the Terminal API.

## Other responses

- `401` — Unauthorized - Authentication is required and has failed or has not been provided.
- `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` — 3 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
- **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/post.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)
