---
title: "Suggest Agent Voice"
method: POST
path: "/api/agents/{agent_id}/suggest-voice"
tags: ["agents"]
---

# Suggest Agent Voice

`POST /api/agents/{agent_id}/suggest-voice`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agents/{agent_id}/suggest-voice`
- Auth: none declared

Pick a best-fit ElevenLabs voice for the agent's persona.

Fetches the live voice catalog under the caller's effective ElevenLabs
key (TOS-199 cascade), then asks Haiku to choose one - see
``services/voice_suggest.suggest_voice`` for the prompt + parsing.

Returns the suggested ``voice_id``. The caller decides whether to
persist it (PUT /api/agents/{id} with ``tts_voice``). Never throws on
LLM failure - returns 503 with a clear reason if the suggestion path
can't complete.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Response `200`

Successful Response

- SuggestVoiceResponse
  - `voice_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
