---
title: "Get the currently authenticated token"
method: GET
path: "/token"
tags: ["miscellaneous"]
---

# Get the currently authenticated token

`GET /token`

## Response `200`

CurrentAccessToken represents the currently authenticated access token.

- CurrentAccessToken
  - `created_at` string, date-time — The timestamp when the token was created
  - `id` integer — The unique identifier of the access token
  - `last_used_at` string, date-time — The timestamp when the token was last used
  - `name` string — The name of the access token
  - `scopes` string[] — The scopes granted to this access token
  - `user` UserMeta
    - `id` integer — The unique identifier of the user
    - `login` string — The username of the user

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/versions/350de506cefa/schema)
