---
title: "Voice agents that can answer callbacks on a pool number"
description: "Used by the \"who answers it\" picker when provisioning a caller number."
---

> 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-campaigns/number-pools/agents`

Used by the "who answers it" picker when provisioning a caller number.

## Authentication

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

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.channelautomation.com/api/voice-campaigns/number-pools/agents \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/voice-campaigns/number-pools/agents';
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/voice-campaigns/number-pools/agents"

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

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

print(response.text)
```

## Responses

### 200

Agents listed

### 401

Sign in required

### 403

Manager role or feature access required

### 503

Voice account unavailable


Source: https://developer.channelautomations.com/api/get-api-voice-campaigns-number-pools-agents/index.md
