---
title: "List existing workspace numbers for voice agents"
description: "Owner/admin only. Returns only the authenticated workspace inventory; credentials never leave the server."
---

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

`GET /api/voice-workspace-numbers`

Owner/admin only. Returns only the authenticated workspace inventory; credentials never leave the server.

## Authentication

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

## Header parameters

- `x-workspace-id` (`get/api/voice-workspace-numbers.header.x-workspace-id`; string, required)

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.channelautomation.com/api/voice-workspace-numbers \
  --header 'Authorization: Bearer <token>' \
  --header 'x-workspace-id: string'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/voice-workspace-numbers';
const options = {
  method: 'GET',
  headers: {'x-workspace-id': 'string', 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/voice-workspace-numbers"

headers = {
    "x-workspace-id": "string",
    "Authorization": "Bearer <token>"
}

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

print(response.text)
```

## Responses

### 200

Workspace number inventory

#### Example

```json
{
  "success": true,
  "numbers": [
    {
      "sid": "string",
      "phoneNumber": "string",
      "friendlyName": "string"
    }
  ]
}
```

- `success` (`get/api/voice-workspace-numbers.response.200.success`; boolean, optional)
- `numbers` (`get/api/voice-workspace-numbers.response.200.numbers`; array<object>, optional)
  - `sid` (`get/api/voice-workspace-numbers.response.200.numbers.sid`; string, optional)
  - `phoneNumber` (`get/api/voice-workspace-numbers.response.200.numbers.phoneNumber`; string, optional)
  - `friendlyName` (`get/api/voice-workspace-numbers.response.200.numbers.friendlyName`; string, optional)

### 400

Select a workspace

### 401

Sign in required

### 403

Workspace access or feature disabled

### 404

Resource not found

### 412

Twilio connection required

### 500

Unexpected error

### 503

Configuration unavailable


Source: https://developer.channelautomations.com/api/get-api-voice-workspace-numbers/index.md
