> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.simplified.com/api-reference/platform/ai-generation/list-voices/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.simplified.com/_mcp/server. # Media · Generate · List available TTS voices GET https://api.simplified.com/api/v1/voices List voices available to the current workspace, filtered by language. `language_code` is the ONLY required parameter — use an exact BCP-47 locale (`en-US`, `en-GB`, `fr-FR`, `hi-IN`, `ja-JP`). Combine with `is_premium=true` for a short, high-quality shortlist. The optional filters (`gender`, `provider`, `engine`, `is_premium`, `language_name`, `search`) all default to an empty string `""`, which means "no filter — return everything". Leave them at `""` unless the user explicitly asked to filter. Do NOT substitute `0`/`false` for "no filter": `0` is a REAL value (gender 0 = Male, provider 0 = Google, engine 0 = Neural), so sending it silently narrows the list. The empty-string default is the ONLY correct "unset" value. Response: * `voices[]`: `id` (uuid), `voice_name`, `language_code`, `avatar`, `voice_sample`, `gender` (0=Male, 1=Female, 3=Neutral), `is_premium`, `description`, `supports_instructions` (bool — `true` if the voice honors the `instructions` style/pace hint on generateAudio). Use `id` as `voice_id` in generateAudio. To re-resolve a single known `voice_id` (e.g. from a saved preference) without re-listing, use `getVoice`. * `languages[]`: distinct `{language_code, language_name}` pairs. To resolve a known `voice_name` (e.g. from an avatar roster) to its `id`, pass `voice_name` + `language_code` — that pair is unique, and the `id` differs per locale, so the name must be re-resolved whenever the language changes. Always check the entry you use actually has that `voice_name` rather than trusting `voices[0]` — see the `voice_name` parameter. Reference: https://docs.simplified.com/api-reference/platform/ai-generation/list-voices ## Authentication - `Authorization` header (required) (prefixed with ` Api-Key `) — Header authentication of the form `Api-Key ` - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Query parameters - `language_code` (string, required) — BCP-47 locale, exact match (e.g. `en-US`, `fr-FR`). Always required — narrows the list significantly. - `language_name` (string, optional) — Display name, exact match (e.g. `English (US)`). Use when you only have the display name. - `voice_name` (ApiV1VoicesGetParametersVoiceName, optional, default: ) — Exact voice name, case-sensitive (e.g. `Leda`, `Puck`). NOT unique on its own — a Chirp name exists once per locale (`Leda` x 53), and each locale has its own distinct `id`. Always pair with `language_code` to land a single voice. Use when you hold a name from a curated roster and need its `id` for generateAudio. ALWAYS confirm the returned entry's `voice_name` equals the name you asked for before using its `id`: deployments that predate this filter ignore the parameter and return the whole locale, so trusting `voices[0]` blindly can hand you a different voice — and a wrong-gender one. - `search` (string, optional) — Substring match across `language_code` and `language_name` only — it does NOT search voice names. `search=Orus` returns nothing; to find a voice by name use the `voice_name` parameter. Use this for genuinely vague locale requests ("any English voice" → `search=en`). - `is_premium` (ApiV1VoicesGetParametersIsPremium, optional, default: ) — Filter to premium (`true`) or standard (`false`) voices. Leave as the default empty string "" to return BOTH tiers. Only set `true`/`false` when the user explicitly asks for premium or standard. - `provider` (ApiV1VoicesGetParametersProvider, optional, default: ) — Filter by TTS provider: 0=Google, 2=ElevenLabs, 3=OpenAI, 4=Microsoft, 5=Google Chirp 3 HD, 6=Gemini Flash TTS. Leave as the default empty string "" to include ALL providers. `0` is a real value (Google), NOT 'any' — only send an integer when the user explicitly names a provider. - `gender` (ApiV1VoicesGetParametersGender, optional, default: ) — Filter by voice gender: 0=Male, 1=Female, 3=Neutral. Leave as the default empty string "" to return ALL genders. `0` is a real value (Male), NOT 'any' — only send an integer when the user explicitly asks for a gender. - `engine` (ApiV1VoicesGetParametersEngine, optional, default: ) — Filter by synthesis engine: 0=Neural (higher quality), 1=Standard. Leave as the default empty string "" to return ALL engines. `0` is a real value (Neural), NOT 'any' — only send an integer when the user explicitly asks to restrict by engine. ## Response ### 200 Voices and distinct languages available to the workspace - `any` ## Errors ### 401 Unauthorized Error Unauthorized - `any` ## Types ### ApiV1VoicesGetParametersVoiceName ### ApiV1VoicesGetParametersIsPremium ### ApiV1VoicesGetParametersProvider ### ApiV1VoicesGetParametersGender ### ApiV1VoicesGetParametersEngine ## Examples **SDK Code** ```python import requests url = "https://api.simplified.com/api/v1/voices" querystring = {"language_code":"language_code"} headers = {"Authorization": "Api-Key "} response = requests.get(url, headers=headers, params=querystring) print(response.json()) ``` ```javascript const url = 'https://api.simplified.com/api/v1/voices?language_code=language_code'; const options = {method: 'GET', headers: {Authorization: 'Api-Key '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.simplified.com/api/v1/voices?language_code=language_code" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Api-Key ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://api.simplified.com/api/v1/voices?language_code=language_code") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Api-Key ' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.simplified.com/api/v1/voices?language_code=language_code") .header("Authorization", "Api-Key ") .asString(); ``` ```php request('GET', 'https://api.simplified.com/api/v1/voices?language_code=language_code', [ 'headers' => [ 'Authorization' => 'Api-Key ', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://api.simplified.com/api/v1/voices?language_code=language_code"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Api-Key "); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Authorization": "Api-Key "] let request = NSMutableURLRequest(url: NSURL(string: "https://api.simplified.com/api/v1/voices?language_code=language_code")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```