---
title: "List your personal access tokens for this workspace"
method: GET
path: "/api/workspaces/{workspaceId}/api-tokens"
tags: ["Personal Access Tokens"]
---

# List your personal access tokens for this workspace

`GET /api/workspaces/{workspaceId}/api-tokens`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/api-tokens`
- Auth: API key in cookie `hiveship_access`

## Response `200`

List of tokens (plaintext not included)

- object
  - `success` boolean, required
  - `data` object[], required
    - `id` string, cuid, required
    - `name` string, required
    - `tokenHint` string, required
    - `scopes` string[], required
    - `lastUsedAt` string, date-time, nullable, required
    - `revokedAt` string, date-time, nullable, required
    - `expiresAt` string, date-time, nullable, required
    - `userId` string, cuid, required
    - `workspaceId` string, cuid, nullable, required
    - `createdAt` string, date-time, required

---

[API](https://skmtc.dev/hiveship/apis/hiveship-api.md) · [All operations](https://skmtc.dev/hiveship/apis/hiveship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hiveship/apis/hiveship-api/revisions/73d3e26544e4?raw)
