---
title: "List Machine Tokens"
method: GET
path: "/v0/users/{user_id}/machine-tokens"
tags: ["users"]
---

# List Machine Tokens

`GET /v0/users/{user_id}/machine-tokens`

Lists all machine tokens for the authenticated user.

## Path parameters

- `user_id` string, required

## Response `200`

- MachineTokenList — MachineTokenList represents a list of machine tokens
  - `tokens` MachineToken[], required — List of machine tokens
    - `device_name` string, required — Human-readable name for the token
    - `id` string, required — Machine token identifier

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/pantheon/apis/pantheon-public-api-service.md) · [All operations](https://skmtc.net/pantheon/apis/pantheon-public-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pantheon/pantheon-public-api-service/revisions/94758829689e/schema)
