---
title: "List Personal Access Tokens of the user in the account."
method: GET
path: "/tokens/{id}"
tags: ["security", "default"]
---

# List Personal Access Tokens of the user in the account.

`GET /tokens/{id}`

## Request

- Base URL: `{{ server_url }}/v1`
- URL: `{{ server_url }}/v1/tokens/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/athenian/apis/title/docs/tokens/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Response `200`

List of Personal Access Tokens belonging to the user in the specified account.

- ListedToken[]
  - `id` integer, required: Token identifier - can be used in `/token/{id}` DELETE.
  - `name` string, required: Name of the token (see `/token/create`).
  - `last_used` string, date-time, required: When this token was used last time.

## Other responses

- `404`: The user does not belong to the specified account or no such account exists.

---

[API](https://skmtc.dev/athenian/apis/title.md) - [All operations](https://skmtc.dev/athenian/apis/title/llms.txt) - [OpenAPI document](https://skmtc.dev/athenian/apis/title/revisions/110c9f7cffdd?raw)
