---
title: "List connected AI apps (OAuth grants)"
description: "Owners and admins see every grant in the workspace; other members see only their own."
---

> 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 › AI Connectors

`GET /api/workspaces/{workspaceId}/ai-connectors/grants`

Owners and admins see every grant in the workspace; other members see only their own.

## Authentication

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

## Path parameters

- `workspaceId` (`get/api/workspaces/workspaceId/ai-connectors/grants.path.workspaceId`; string, required)

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.channelautomation.com/api/workspaces/<workspaceId>/ai-connectors/grants' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/workspaces/<workspaceId>/ai-connectors/grants';
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/workspaces/<workspaceId>/ai-connectors/grants"

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

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

print(response.text)
```

## Responses

### 200

{ success, data: [{ id, user: { id, name }, client_id, client_name, scopes, created_at, last_used_at, revoked_at, status }] }

### 403

Not a member

### 503

AI_CONNECTORS_NOT_SET_UP, or unavailable


Source: https://developer.channelautomations.com/api/get-api-workspaces-workspace-id-ai-connectors-grants/index.md
