# Get inbound voice agent

> Who answers the workspace's inbound calls, and the voice agents that could.

Source: https://docs.mycrmsim.com/docs/voice-agents/get-inbound-voice-agent

```http
GET https://backend.mysmsgateway.app/api/v1/ext/voice-agents/inbound
```

- Category: myCRMSIM Calls / Voice Agents
- Auth: Bearer access token
- Scope: `voice_agents.read`

The voice agent chosen here picks up calls arriving on the workspace's lines after its `inbound_answer_after_seconds` unless a person answers first, within its `inbound_hours` when they are enabled. It is also the **default** voice agent for AI calls to contacts with no matching tag.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspace_id` | query | number | yes | A workspace of the installer. Example: `7` |

## Response 200

OK

```json
{
  "success": true,
  "data": {
    "workspace_id": 7,
    "inbound_voice_agent_id": "va_01HZX4Q8K2",
    "voice_agents": [
      {
        "id": "va_01HZX4Q8K2",
        "name": "Sales Voice",
        "status": "active",
        "agent_name": "Sales Agent"
      }
    ]
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Voice agents are switched off for the account

```json
{
  "success": false,
  "code": "voice_agents_off",
  "message": "Voice agents are not enabled for this account."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): voice_agents.read. This integration was granted: …"
}
```

## Response 404

Workspace does not exist or is not the installer's (same response for both)

```json
{
  "success": false,
  "message": "Workspace not found or not accessible to this token"
}
```
