---
title: "List API tokens"
method: GET
path: "/api/v1/api-keys"
tags: ["API Tokens"]
---

# List API tokens

`GET /api/v1/api-keys`

Returns all API tokens in the organization, including organization-level keys, personal access tokens, and MCP OAuth grants. Secrets are never returned. Requires organization admin permissions.

## Query parameters

- `cursor` string, uuid — Cursor from the previous response (token UUID)
- `pageSize` integer — Number of results per page (1-100, integer)
- `sortDirection` 'asc' | 'desc' — Sort direction for results
- `sortField` 'createdAt' | 'name'
- `type` 'organization' | 'personal' | 'mcp' — Filter by API token type. When omitted, all types are returned.

## Response `200`

Paginated list of API tokens

- ApiKeyListResponse
  - `pageInfo` PageInfo, required
    - `hasNextPage` boolean, required — Whether more results are available
    - `nextCursor` string, nullable, required — Cursor for fetching the next page
    - `pageSize` number, required — Number of results per page
    - `totalRecords` number, required — Total number of records matching the query
  - `records` ApiKey[], required
    - `createdAt` string, date-time, required — ISO 8601 timestamp of when the token was created
    - `enabled` boolean, required — Whether the token can currently authenticate. A disabled token cannot authenticate but remains visible until deleted.
    - `id` string, uuid, required — Unique identifier for the token
    - `membershipId` string, uuid, nullable, required — Membership ID of the user the token is scoped to. Null for organization-level tokens.
    - `name` string, required — Human-readable name for the token
    - `type` 'organization' | 'personal' | 'mcp', required — Token type: `organization` (org-level), `personal` (user-created personal access token), or `mcp` (MCP OAuth grant).

## Other responses

- `400` — Invalid query parameters
- `401` — Authentication required
- `403` — Insufficient permissions

---

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