# AgentLine Voices

Always ask the human whether the agent should sound male or female, then pick a
preset.

| Preset | Style |
|---|---|
| `female-1` | Friendly |
| `female-2` | Reassuring |
| `female-3` | Guide |
| `male-1` | Supportive |
| `male-2` | Thinker |
| `male-3` | Helpful |

Any Cartesia voice UUID also works as a `voice_id`.

```bash
curl -s https://api.agentline.cloud/v1/voices \
  -H "Authorization: Bearer $AGENTLINE_API_KEY"
```

## Priority

Highest wins:

1. Per call: `voice_id` on `POST /v1/calls`.
2. Agent: `PATCH /v1/agents/{id} {"voice_id":"..."}`.
3. Account default: `PATCH /v1/account/voice`.
4. System default (Supportive Male).

Voice changes apply on the next call.

## Agent Voice

```bash
curl -s -X PATCH https://api.agentline.cloud/v1/agents/agt_xxx \
  -H "Authorization: Bearer $AGENTLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"voice_id":"female-1"}'
```

## Account Voice

```bash
# Read
curl -s https://api.agentline.cloud/v1/account/voice \
  -H "Authorization: Bearer $AGENTLINE_API_KEY"

# Set
curl -s -X PATCH https://api.agentline.cloud/v1/account/voice \
  -H "Authorization: Bearer $AGENTLINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"voice_id":"male-2"}'

# Reset to system default
curl -s -X DELETE https://api.agentline.cloud/v1/account/voice \
  -H "Authorization: Bearer $AGENTLINE_API_KEY"
```

AgentLine: https://agentline.cloud | API: https://api.agentline.cloud | All guides: https://agentline.md
