---
title: "View a token"
method: GET
path: "/v0/users/{user}/tokens/{token}"
tags: ["users", "tokens"]
deprecated: true
---

# View a token

`GET /v0/users/{user}/tokens/{token}`

> **Deprecated.**

DEPRECATED: User API tokens have been deprecated in favor of user API keys. This endpoint remains available to manage existing API tokens. Create a [user API key](https://bencher.dev/docs/explanation/bencher-run/#--key-key) instead.

View an API token for a user. Only the authenticated user themselves and server admins have access to this endpoint.

## Path parameters

- `token` string, uuid, required
- `user` string, required

## Response `200`

successful operation

- JsonToken
  - `creation` string, date-time, required
  - `expiration` string, date-time, required
  - `name` string, required
  - `revoked` string, date-time
  - `token` string, required
  - `user` string, uuid, required
  - `uuid` string, uuid, required

## Other responses

- `4XX` — Error
- `5XX` — Error

## Changes

- **2026-06-17** `d891e502cfb3` — 1 info
  - endpoint deprecated
- **2026-04-20** `384ed3e1ff89` — 1 info
  - added the optional property `revoked` to the response with the `200` status
- **2026-03-20** `36c8ad753527` — 1 warning, 1 info
  - removed the optional property `revoked` from the response with the `200` status
  - endpoint reactivated

[Change history](https://skmtc.dev/bencherdev/apis/bencher-api/changes/v0/users/:user/tokens/:token/get.md)

---

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