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

# Gets a specific token associated with a user

`GET /users/{userId}/tokens/{tokenId}`

## Path parameters

- `userId` string, required
- `tokenId` string, required

## Response `200`

Metadata about the token.

- TokenInfoResponse — Holds metadata about a token. `expires_at` is excluded if token does not expire.
  - `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.
- `404` — This token ID is not available for the 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)
