David
05/04/2025, 8:53 PMVapi Support Bot
05/04/2025, 8:54 PMhttps://api.vapi.ai/assistant/id. Here's an example:
curl -X PATCH https://api.vapi.ai/assistant/id \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": {
"provider": "openai",
"model": "gpt-4o",
"toolIds": [
"your-tool-id-here"
]
}
}'
For the dynamic aspect, could you clarify how you're determining whether a user is integrated with the particular service? This would help me provide more specific guidance on implementing conditional tool access.
Source:
- [Discord Channel](https://discord.com/channels/1211482211119796234/1333975440003563604)David
05/05/2025, 12:16 AMVapi Support Bot
05/05/2025, 12:18 AMDavid
05/05/2025, 12:20 AMVapi Support Bot
05/05/2025, 12:21 AMeleven_flash_v2 and eleven_flash_v2_5 are available in Vapi, but I don't have the exact parameter name.
Try this approach:
json
{
"voice": {
"provider": "11labs",
"model": "eleven_flash_v2_5" // or possibly "voiceModel": "eleven_flash_v2_5"
}
}
Note: The flash model is newer and may have some hiccups compared to turbo.
Sources:
- [Vapi Changelog](https://docs.vapi.ai/changelog/2024/12/21)
- [Discord Channel](https://discord.com/channels/1211482211119796234/1342104920207392819)David
05/05/2025, 12:23 AMVapi Support Bot
05/05/2025, 12:24 AMvoiceId parameter to your voice configuration. Here's how to structure it:
json
{
"voice": {
"provider": "11labs",
"model": "eleven_flash_v2_5",
"voiceId": "your-voice-id-here"
}
}
To get your voice IDs, have you already added your ElevenLabs voices to the Vapi dashboard at https://dashboard.vapi.ai/library/voice? You'll need to sync with ElevenLabs first to access your voices.
Sources:
- [Discord Channel](https://discord.com/channels/1211482211119796234/1270786139355090995)
- [Custom Voice Documentation](https://docs.vapi.ai/customization/custom-voices/custom-voice)Kings_big💫
05/05/2025, 6:54 AM