---
title: "Get personal access token by ID"
method: GET
path: "/user/tokens/{id}"
tags: ["User API"]
---

# Get personal access token by ID

`GET /user/tokens/{id}`

## Path parameters

- `id` string, required

## Response `200`

- AccessTokenView
  - `url` string — API endpoint to GET this object
  - `html_url` string — Web URL to view this object in Buddy.works
  - `id` string — The ID of the access token
  - `name` string — The name/description of the access token
  - `token` string — The actual access token value. Only returned when creating a new token
  - `expires_in` integer — The token expiration time in days
  - `expires_at` string, date-time — The token expiration date
  - `scopes` string[] — The array of OAuth scopes granted to the token
  - `ip_restrictions` string[] — The array of IP addresses that are allowed to use this token
  - `workspace_restrictions` string[] — The array of workspaces for which this token can be used

---

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