Importing Elevenlabs Voice : Error

Hi Guys,

I’m trying to add an Elevenlabs voice, I insert the ID, it finds the voice, and few seconds later I get:

Item org_Zu94qwehFK8han1P in org has been modified or is no longer in a valid state for this operation.

Any idea how I can fix this please?

Thanks

I don’t have specific information about that exact error message in the available sources. However, I can provide guidance on adding ElevenLabs voices to Retell AI.

To add an ElevenLabs community voice, you need to connect your ElevenLabs API key in Retell’s settings, then select an ElevenLabs voice when configuring your agent(1). You can add custom voices through the voice selector by clicking “Add custom voice” to search and add 11labs community voices(2).

When adding a voice via the API, you’ll need to provide the provider_voice_id (the voice ID from ElevenLabs), a custom voice_name, and for ElevenLabs specifically, the public_user_id of the voice owner is required(3).

import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
});
const voiceResponse = await client.voice.addResource({
 provider_voice_id: 'provider_voice_id',
 voice_name: 'x',
});
console.log(voiceResponse.provider);

(3)

The error you’re experiencing might be related to account state or permissions. I’d recommend:

  1. Verify your ElevenLabs API key is correctly connected in Retell settings
  2. Ensure the voice ID you’re using is valid and accessible
  3. Check that you have the necessary permissions for that voice

If the issue persists, I’d suggest reaching out to support@retellai.com with the specific voice ID you’re trying to add and the full error details.

**

Hello @Buzu , can you share the id for the voice you want to add ?

I don’t have enough context to know which specific voice ID you’re referring to or who “@Buzu” is. However, I can help you understand how voice IDs work in Retell AI.

In Retell AI, voice IDs follow a specific format based on the provider. For example, ElevenLabs voices use the format 11labs-[VoiceName], such as 11labs-Adrian or 11labs-Emily(1)(2).

To find available voice IDs, you can:

  1. List all available voices using the API:
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
});
const voiceResponses = await client.voice.list();
console.log(voiceResponses);

(3)

  1. Get details of a specific voice if you know the voice ID:
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
});
const voiceResponse = await client.voice.retrieve('11labs-Adrian');
console.log(voiceResponse.provider);

(1)

  1. Export an agent to see which voice ID it’s using - in the agents tab, you can export the agent configuration to view the voice_id field(2).

If you need to add a community voice from a provider like ElevenLabs, you would use the provider_voice_id from that provider along with a custom voice_name(4).

Could you clarify which voice you’re looking for or provide more context about what you’re trying to accomplish?

ZF6FPAbjXT4488VcRRnw

According to support AI I need to insert my Elevenlabs api key, in settings, but I cant find where? Maybe thats the issue?

I don’t have information in the available sources about where to insert your own ElevenLabs API key in Retell’s settings.

Based on a Discord discussion, Retell currently does not support bringing your own ElevenLabs API key(1). When asked about adding their own ElevenLabs API key, the official response was: “We dont have bring your own key right now. May consider it in the future”(1).

This means Retell uses their own ElevenLabs integration, and you cannot insert your personal ElevenLabs API key into the platform settings.

To add ElevenLabs voices in Retell, you can add custom voices from the ElevenLabs community by clicking “Add custom voice” in the voice selection dropdown(2)(3). When adding a voice via the API, you need to provide the provider_voice_id and voice_name(4):

import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
});
const voiceResponse = await client.voice.addResource({
 provider_voice_id: 'provider_voice_id',
 voice_name: 'x',
});

(4)

The error you’re experiencing might be unrelated to API key configuration. I’d recommend contacting support@retellai.com with the specific voice ID and error details for assistance.

ZF6FPAbjXT4488VcRRnw

According to support AI I need to insert my Elevenlabs api key, in settings, but I cant find where? Maybe thats the issue?

Based on the available documentation, I don’t have specific information about where to insert your ElevenLabs API key in Retell’s settings interface.

However, the documentation shows you can add ElevenLabs voices through the dashboard. In the voice selection dropdown menu, you can add voices from the ElevenLabs community or clone voices by clicking “Add custom voice”(1). When adding a community voice, you need to provide the provider_voice_id (your ElevenLabs voice ID) and for ElevenLabs specifically, the public_user_id of the voice owner is required(2).

The voice ID you provided (ZF6FPAbjXT4488VcRRnw) appears to be an ElevenLabs voice ID format.

If you’re unable to locate the API key settings in the dashboard, I’d recommend:

  1. Check the dashboard → Voice settings → Add custom voice section
  2. Look for an integrations or API keys section in your account settings

For specific guidance on where to input your ElevenLabs API key in the Retell dashboard, I’d suggest contacting support:

They should be able to provide the exact location in the dashboard interface for API key configuration.

The voice is already added.

You are trying to add it twice, that’s why you are seeing this error.