---
title: "List the API tokens of a workspace."
method: GET
path: "/api/external/v1/get-api-tokens"
tags: ["Authentication"]
---

# List the API tokens of a workspace.

`GET /api/external/v1/get-api-tokens`

Returns the workspace's own keys plus any legacy keys that were created
before keys were bound to a workspace (those still work everywhere, so
hiding them would leave the user unable to find and revoke them).

## Query parameters

- `workspace_id` integer, required — The workspace to list keys for.

## Response `200`

- object
  - `tokens` object[]
    - `id` string
    - `name` string
    - `created_at` string

## Other responses

- `401`

## Changes

- **2026-08-17** `dd3f47f72f7a` — 2 breaking, 5 info
  - added the new required `query` request parameter `workspace_id`
  - removed the request body
  - api operation id `getApiExternalV1GetApiTokens` removed and replaced with `listTheAPITokensOfAWorkspace`
  - api tag `Authentication` added
  - …3 more

[Change history](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/changes/api/external/v1/get-api-tokens/get.md)

---

[API](https://skmtc.dev/genpage/apis/genpage-external-api-documentation.md) · [All operations](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/genpage/genpage-external-api-documentation/revisions/29a37db12acb/schema)
