---
title: "Lists tokens associated with a user"
method: GET
path: "/users/{userId}/tokens"
tags: ["public", "TokenInfo"]
---

# Lists tokens associated with a user

`GET /users/{userId}/tokens`

## Path parameters

- `userId` string, required

## Response `200`

A possibly empty list of tokens.

- TokenInfoResponse[]
  - `created_at` string, required
  - `created_by` string, required
  - `description` string, required
  - `expires_at` string
  - `id` string, required
  - `type` string, required

## Other responses

- `403` — Calling user does not have permission to list tokens for this user.

---

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