---
title: "Get the personal access tokens for the authenticated user"
method: GET
path: "/personal-access-tokens"
tags: ["Users"]
---

# Get the personal access tokens for the authenticated user

`GET /personal-access-tokens`

Returns metadata for every personal-access token issued to the
currently authenticated user. The raw token values are never
returned by this endpoint — use the token IDs together with
`deletePersonalAccessToken` to revoke a token, or
`createPersonalAccessToken` to issue a new one.

## Response `200`

A list of personal access tokens

- PersonalAccessToken[]
  - `id` string — Stable identifier for the personal-access token. Use this to revoke the token later via `deletePersonalAccessToken`. The ID is safe to log; the raw secret is only ever returned at creation as `accessToken`.
  - `name` string, required — A human-readable label for the token, used to distinguish it from other tokens issued to the same user.
  - `created_at` string, date-time — The date and time the personal access token was created.

## Other responses

- `401` — The user is unauthenticated

---

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