Need Api For voice
# support
d
I want to show all the voices available on the Vapi dashboard in my react Platform Is there an API for this ? or how can I do this ?
v
Hi there! 👋 I wasn't able to find specific information about an API endpoint that would let you list all the voices available on the Vapi dashboard. However, I can help you with what voices are available and how to integrate Vapi with your React platform. According to the information I found, the Vapi dashboard includes voices from multiple providers including [ElevenLabs, PlayHT, Azure, OpenAI, Neets, Cartesia, LMNT, RimeAI, and Deepgram](https://docs.vapi.ai/providers/voice/elevenlabs). To integrate Vapi with your React platform, you can use the Vapi Web SDK. Here's how to get started: 1. Install the SDK using npm or yarn:
Copy code
npm install @vapi-ai/web
or
Copy code
yarn add @vapi-ai/web
2. Import the package in your React component:
Copy code
javascript
import Vapi from "@vapi-ai/web";
3. Create a new instance with your public key:
Copy code
javascript
const vapi = new Vapi("your-public-key");
You can find your public key in the [Vapi Dashboard](https://dashboard.vapi.ai/account). For the specific API to list all available voices, I'd recommend checking the [API Reference](https://docs.vapi.ai/api-reference/calls/list) in the Vapi documentation. The documentation includes sections on "Voices (Text-to-Speech)" under "Providers on Vapi" which might contain the information you need. Is there anything else you'd like to know about integrating Vapi with your React application? Sources: - [Vapi Dashboard Voices](https://docs.vapi.ai/providers/voice/elevenlabs) - [Vapi Web SDK Installation](https://docs.vapi.ai/quickstart/web) - [Vapi API Reference](https://docs.vapi.ai/api-reference/calls/list)
I've searched through our documentation but couldn't find the specific API endpoint you're looking for. Since this is an important technical question about retrieving all available voices programmatically, I've escalated your query to our technical support team. They'll be able to provide you with the exact API endpoint details or alternative approaches to display all Vapi voices in your React application. Someone from our team will reach out to you shortly with more specific information. In the meantime, you can continue setting up the basic Vapi integration with your React app using the Web SDK as I outlined earlier. This will ensure you're ready to implement the voice listing functionality once you receive the technical details. Is there anything else you'd like to know while we wait for the technical team's response?
d
I haven't found any endpoints for getting the voices In the documentation
do you have any solution for this
k
Hey dev, we don't have any endpoints which expose the voiceless available over on VAPI dashboard, so you have to do this whole process manually.
d
Thanks @Shubham Bajaj
do we have any way that we can upload our contact list file to any particular agent through api and also assign him weedays time so that the agent will call every number from that file in the given time
please help me or suggest to me how I can achieve
Hello Are you there ?
can you revert on my above query ?
k
Apologies for the delay. I was out of office for a couple of days, so couldn't reply earlier. We don't have this feature as of now, but good party you can always raise a feature request for it. You can raise an feature request for it over here: https://roadmap.vapi.ai