---
title: "List API keys for this workspace"
method: GET
path: "/v1/api-keys"
tags: ["API Keys"]
---

# List API keys for this workspace

`GET /v1/api-keys`

## Request

- Base URL: `https://api.banksync.io`
- URL: `https://api.banksync.io/v1/api-keys`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Response `200`

Active API keys for this workspace (keyHash never returned)

- object
  - `success` true, required
  - `data` object[], required
    - `id` string, required
    - `keyPrefix` string, required: First 8 chars of the key for display (e.g. bsk_a3f5)
    - `name` string, required
    - `scopes` string[], required
    - `isActive` boolean, required
    - `expiresAt` string, nullable, required
    - `createdAt` string, required
    - `createdBy` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

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