---
title: "List API keys"
method: GET
path: "/public/v1/accounts/tokens/"
tags: ["API Keys"]
---

# List API keys

`GET /public/v1/accounts/tokens/`

Returns all API keys for the authenticated user, including inactive ones. Each response object includes the raw token value and the `active` field indicating current status.

## Response `200`

- Token[]
  - `id` integer, required — Unique identifier for the API key token.
  - `name` string, required — Human-readable label for the token.
  - `scopes` string[], required — Scopes granted to the token.
  - `active` boolean, required — Whether the token is currently active.
  - `expires_at` string, date-time, nullable — Expiration timestamp, or null if the token never expires.
  - `token` string — The API key value used as the Bearer credential. Returned in full on every read.
  - `created_at` string, date-time, required — When the token was created.
  - `last_used_at` string, date-time, nullable — When the token was last used to authenticate a request, or null if never used.

## Other responses

- `400` — Bad request — invalid or missing parameters.
- `401` — Unauthorized — missing or invalid API key.
- `422` — Unprocessable entity — validation failed.

---

[API](https://skmtc.net/influencers/apis/core-api-concepts.md) · [All operations](https://skmtc.net/influencers/apis/core-api-concepts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/influencers/core-api-concepts/revisions/cd6c016f2cd6/schema)
