dev
04/02/2025, 9:55 AMVapi Support Bot
04/02/2025, 9:56 AMnpm install @vapi-ai/web
or
yarn add @vapi-ai/web
2. Import the package in your React component:
javascript
import Vapi from "@vapi-ai/web";
3. Create a new instance with your public key:
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)Vapi Support Bot
04/02/2025, 9:57 AMdev
04/02/2025, 9:58 AMdev
04/02/2025, 12:39 PMKyle
04/02/2025, 1:08 PMdev
04/03/2025, 7:41 AMdev
04/05/2025, 8:20 AMdev
04/05/2025, 8:22 AMdev
04/07/2025, 7:06 AMdev
04/07/2025, 8:05 AMKyle
04/07/2025, 8:50 PM