---
title: "List all API keys for the current user or organization"
method: GET
path: "/v2/alpha/api-keys/list"
tags: ["api-keys"]
---

# List all API keys for the current user or organization

`GET /v2/alpha/api-keys/list`

List all API keys for the current user or organization

## Response `200`

Successful response

- object[]
  - `publicId` string, required
  - `userId` string, required
  - `orgId` unknown, required
  - `revokedAt` string, nullable, required
  - `last4` string, required
  - `createdAt` string, required
  - `organizationMember` object
    - `email` string, required
    - `fullName` string
    - `imageUrl` string
    - `role` 'org:admin' | 'org:member', required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Not found
- `500` — Internal server error

---

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