---
title: "Retrieve"
method: GET
path: "/v4/tokens/{token_id}"
tags: ["Tokens"]
---

# Retrieve

`GET /v4/tokens/{token_id}`

## Request

- Base URL: `https://www.mystic.ai`
- URL: `https://www.mystic.ai/v4/tokens/{token_id}`
- Auth: API key in cookie `access-token`
- TypeScript: <https://skmtc.dev/mystic/apis/mystic-api/docs/v4/tokens/:token_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve an API Bearer token for an authenticated user.

## Path parameters

- `token_id` string, required

## Response `200`

Successful Response

- TokenGet: API token representation when returned from an API call.
  - `id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `value` string, required
  - `name` string, required
  - `expires_at` string, date-time
  - `last_used` string, date-time
  - `is_active` boolean, required
  - `is_enabled` boolean, required
  - `team_id` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mystic/apis/mystic-api.md) - [All operations](https://skmtc.dev/mystic/apis/mystic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mystic/apis/mystic-api/revisions/60e569344994?raw)
