---
title: "Read built-in Voice AI configuration"
description: "Served by the Voice API. Requires a Bearer session for a workspace owner/admin/manager when VOICE_AI_TELEPHONY_TURN_CONTROL_V2 is enabled. Returns turn_control_v2_enabled and saved detection settings. The new settings are effective only when the workspace flag is enabled."
---

> 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/workspaces/{workspaceId}/voice-ai/config`

Served by the Voice API. Requires a Bearer session for a workspace owner/admin/manager when VOICE_AI_TELEPHONY_TURN_CONTROL_V2 is enabled. Returns turn_control_v2_enabled and saved detection settings. The new settings are effective only when the workspace flag is enabled.

## Authentication

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

## Path parameters

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

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

Configuration with effective flag and turn settings

### 401

Missing or invalid session in an opted-in workspace

### 403

Workspace owner/admin/manager required

### 500

Configuration could not be loaded

### 503

Feature state or membership could not be verified


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