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

# List Api Keys

`GET /v1/api-keys`

## Request

- Base URL: `https://api.pinbridge.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pinbridge.io/v1/api-keys`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

List all API keys for the workspace.

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Response `200`

Successful Response

- APIKeyResponse[]
  - `id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `name` string, required
  - `scopes` string[], required
  - `pinterest_account_ids` string[], nullable
  - `last_used_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `revoked_at` string, date-time, nullable
  - `source` 'manual' | 'oauth', required: `manual` for keys created in the dashboard or API, `oauth` for keys minted when an AI agent or app connected through OAuth
  - `client_name` string, nullable: Name the OAuth client registered with. Null for manual keys, and for oauth keys whose client registered without a name.
  - `authorized_by_email` string, nullable: Email of the member who authorized the connection. Null for manual keys, and for oauth keys whose authorizing member no longer exists.

## Other responses

- `422`: Validation Error

---

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