---
title: "List sendable RCS cards for the LiveChat composer"
description: "Returns the workspace's registered card templates (id, label, card preview) so an agent can pick one in the composer. Gated by RCS_MESSAGING + workspace_rcs_config; returns an empty list (rcsEnabled:false) when RCS is off. Authenticated workspace agent (Bearer).\n"
---

> 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 › RCS

`GET /api/rcs/workspaces/{workspaceId}/agent-templates`

Returns the workspace's registered card templates (id, label, card preview) so an agent can pick one in the composer. Gated by RCS_MESSAGING + workspace_rcs_config; returns an empty list (rcsEnabled:false) when RCS is off. Authenticated workspace agent (Bearer).

## Authentication

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

## Path parameters

- `workspaceId` (`get/api/rcs/workspaces/workspaceId/agent-templates.path.workspaceId`; string, required)

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

Templates (possibly empty) + rcsEnabled flag.

### 401

Authentication required

#### Example

```json
{
  "error": "Authentication required",
  "success": false
}
```

- `error` (`get/api/rcs/workspaces/workspaceId/agent-templates.response.401.error`; string, optional)
  - example `"Authentication required"`
- `success` (`get/api/rcs/workspaces/workspaceId/agent-templates.response.401.success`; boolean, optional)
  - example `false`

### 403

Membership in the path workspace is required.

### 503

Identity or workspace access verification is temporarily unavailable.


Source: https://developer.channelautomations.com/api/get-api-rcs-workspaces-workspace-id-agent-templates/index.md
