https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hello Retell Team,We create multiple agents under ...
# ❓・ai-evy-support
h
Hello Retell Team, We create multiple agents under a single AI voice account on our platform. Currently, when a new agent is created, Adrian is assigned as the default voice. We would like Steve's voice to be assigned automatically instead. Our question is: When a new agent is created, how can we ensure that a specific voice_id (e.g., Steve's ID: 5TPmKCo6TxckqElVS5gS) is automatically assigned? Which parameter should we use in the agent creation API call to override the first voice in alphabetical order (Adrian)? Can this feature be configured to apply to all new agents in automatic agent assignments? Thank you, @AI Evy
a
Thanks for tagging me @harmonious_swan_67897. I'll look through relevant sources and get back to you shortly.
### Answer To assign a specific voice (such as Steve's, with ID 5TPmKCo6TxckqElVS5gS) when creating a new agent, you need to set the voice_id parameter in your agent creation API call. Here is the relevant part of the API call:
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '5TPmKCo6TxckqElVS5gS',
}) ;
[(1) ]() The voice_id parameter directly determines which voice will be assigned to the agent, overriding any alphabetical ordering or defaults like Adrian. There is no documented feature to globally set a default voice for all new agents; you must specify the desired voice_id each time you create a new agent .
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
When creating an agent, we use the create API call and provide all the necessary parameters: response_engine, llm_id, language, voice_id, etc. We can even use the accent we want. However, when we provide the voice_id parameter, the default Adrian voice is always assigned, and the ID we specified is ignored. In our tests, the accepted voices are: Adrian, Amy, and Aiden work. However, other voices we want to add and use (e.g., Steve or 11labs IDs) do not work. How can we resolve this? Is there a specific requirement in the API or parameter format?
@AI Evy
a
Thanks for the follow-up, @harmonious_swan_67897. I'll get back to you soon.
### Answer When creating an agent using the API, the voice_id parameter is intended to determine which voice is assigned to the agent. The documentation shows that you should be able to set any available voice by specifying its unique voice_id in the agent creation call, for example:
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '5TPmKCo6TxckqElVS5gS',
}) ;
[(1) ]() , [(2) ]() The documentation does not indicate any special formatting or additional required parameters for voice_id beyond providing the unique identifier for a voice available in your dashboard. It also does not mention any restriction on which voices can be used as long as the voice_id is valid. If providing a valid voice_id for Steve or other 11labs voices is being ignored and Adrian is always assigned, this behavior is not documented. The documentation expects the API to assign the voice_id you specify [(1) ]() , [(2) ]() . There are no documented requirements or restrictions around the parameter format or additional dependencies for this field. If you are confident that the IDs are correct and the issue persists, it may be related to a limitation or configuration outside what is documented. You can review the list of available voices and their IDs in the Dashboard to ensure the exact value is used [(1) ]() , [(2) ]() . If the problem continues with the documented approach, you may need to contact Retell AI support for further investigation.
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
@User
o
Hello @harmonious_swan_67897 , Can you create a ticket on #❓・bug-report and share the request you are making to create the agent with the voice id you want