---
title: "Get Token"
method: GET
path: "/api/users/{username}/tokens/{id}"
tags: ["Users"]
---

# Get Token

`GET /api/users/{username}/tokens/{id}`

## Path parameters

- `username` string, required
- `id` string, required

## Response `200`

The token data

- TokenResponse
  - `id` string, required
  - `token` string, required — Only available if the token was freshly created.
  - `username` string — Username of the token.
  - `client_id` string — Client ID of the token.
  - `scope` 'admin' | 'install' | 'update' | 'read', required — Permission scope of the token.
  - `grant_type` 'one-time' — Grant type of the token
  - `expires` integer — Timestamp when the one-time token expires.
  - `url` string — Login URL for passwordless authentication tokens.

## Other responses

- `404` — Token was not found.

---

[API](https://skmtc.net/contao/apis/contao-manager-api.md) · [All operations](https://skmtc.net/contao/apis/contao-manager-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contao/contao-manager-api/versions/074d8046de13/schema)
