---
title: "List authorized API keys"
description: "Requires a verified session and current workspace membership; metadata roles never authorize key access. Administrators can list teammates' key metadata but never receive their full key values."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Workspaces

`GET /api/api-keys`

Requires a verified session and current workspace membership; metadata roles never authorize key access. Administrators can list teammates' key metadata but never receive their full key values.

## Authentication

- `BearerAuth`, http, header `Authorization`, format `JWT`

## Header parameters

- `X-Workspace-Id` (`get/api/api-keys.header.X-Workspace-Id`; string, optional)

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.channelautomation.com/api/api-keys \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/api-keys';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/api-keys"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Operation completed

### 201

Key created

### 400

Invalid input or workspace missing

### 401

Verified session required

### 403

Membership or key authority denied

### 404

Key not found

### 503

Authority verification unavailable


Source: https://developer.channelautomations.com/api/get-api-api-keys/index.md
