Rishigangi
04/25/2025, 10:42 AMVapi Support Bot
04/25/2025, 10:44 AMjson
{
"voice": {
"provider": "11labs",
"voiceId": "86V9x9HrQds83qfzaGn" // Your custom voice ID
}
}
This bypasses the UI limitations while maintaining your multilingual voice setup.
Sources:
- [Discord discussion about voice selection issues](https://discord.com/channels/1211482211119796234/1333379603028250665)
- [Vapi Custom Voice documentation](https://docs.vapi.ai/customization/custom-voices/custom-voice)Rishigangi
04/27/2025, 12:58 PMVapi Support Bot
04/27/2025, 1:00 PMbash
curl -X PATCH https://api.vapi.ai/assistant/YOUR_ASSISTANT_ID \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"voice": {
"provider": "11labs",
"voiceId": "YOUR_CUSTOM_VOICE_ID"
}
}'
No need to click Publish after the API update - changes apply immediately.
Sources:
- [Vapi Dashboard](https://docs.vapi.ai/quickstart/dashboard)
- [Vapi Assistant API](https://docs.vapi.ai/api-reference/assistants/update-assistant)Shubham Bajaj
04/28/2025, 1:02 AMRishigangi
04/28/2025, 2:04 PMKings_big💫
04/28/2025, 3:41 PMRishigangi
04/29/2025, 12:21 PMKings_big💫
04/29/2025, 2:14 PMRishigangi
05/13/2025, 6:41 AMRishigangi
05/14/2025, 8:01 AMRishigangi
05/14/2025, 8:02 AMVapi Support Bot
05/14/2025, 8:03 AMVapi Support Bot
05/14/2025, 8:04 AMbash
curl -X PATCH "https://api.vapi.ai/squad/:id" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"members": [ ... ],
"membersOverrides": { ... }
}'
You can use membersOverrides
for global overrides or members[n].assistantOverrides
for per-assistant overrides. The documentation does not provide a specific example for setting a custom voice ID, but these are the fields to use for such overrides [documentation](https://docs.vapi.ai/api-reference/squads/update).
Source:
- [Vapi API Reference: Update Squad](https://docs.vapi.ai/api-reference/squads/update)Rishigangi
05/14/2025, 9:25 AMVapi Support Bot
05/14/2025, 9:27 AMmembers[n].assistantOverrides
for each member. Here’s a sample JSON payload structure you can use in your request body:
json
{
"members": [
{
"assistantOverrides": {
"voice": {
"provider": "azure",
"voiceId": "es-ES-ElviraNeural"
}
}
},
{
"assistantOverrides": {
"voice": {
"provider": "azure",
"voiceId": "en-US-JennyNeural"
}
}
}
]
}
Send this as the body to PATCH https://api.vapi.ai/squad/:id
with your Bearer token. Adjust the voiceId
and provider
as needed for each assistant. (See [Vapi documentation](https://docs.vapi.ai/api-reference/squads/update) for more details.)
Sources:
- [Vapi API Reference: Update Squad](https://docs.vapi.ai/api-reference/squads/update)
- [Vapi Customization: Multilingual](https://docs.vapi.ai/customization/multilingual)Rishigangi
05/14/2025, 9:46 AMVapi Support Bot
05/14/2025, 9:48 AMmembers
array as the index [n]
. For example, to update the second assistant's voice:
json
"members": [
{ /* Assistant 1 */ },
{
/* Assistant 2 */
"assistantOverrides": {
"voice": {
"provider": "playht",
"voice": "Jennifer"
}
}
}
]
Set the assistantOverrides
for the desired assistant at the correct index. You must know the order of assistants in the array to target the right one.
Sources:
- [Vapi API Reference: Squads Update](https://docs.vapi.ai/api-reference/squads/update)
- [Vapi API Reference: Squads Create](https://docs.vapi.ai/api-reference/squads/create-squad)Rishigangi
05/14/2025, 10:24 AMVapi Support Bot
05/14/2025, 10:26 AMassistantName
) using the Vapi API, send a PATCH request to https://api.vapi.ai/squad/:id
with a JSON body like this:
json
{
"name": "Your New Squad Name",
"members": [ /* list of assistant objects as required */ ]
}
The name
field sets the squad name, and the members
list is required. There is no available documentation on updating assistantDestinations
or description
fields or preserving transfer destinations during updates.
Source:
- [Vapi API Reference: Update Squad](https://docs.vapi.ai/api-reference/squads/update)Rishigangi
05/14/2025, 10:31 AMVapi Support Bot
05/14/2025, 10:33 AM"type" field needs to be "assistant"
error in your squad JSON, ensure each member's assistantDestinations
array includes an object with "type": "assistant"
and references a valid assistant. Here’s a correct example:
json
{
"members": [
{
"assistantId": "2de71f0b-f9a2-4d47-ba49-61d80781c4b8",
"assistantDestinations": [
{
"type": "assistant"
// ... other required fields ...
}
]
}
]
}
Make sure to remove any empty or malformed member objects. This structure should resolve the error and enable the "Talk with" functionality [information found](https://discord.com/channels/1211482211119796234/1342171458524414012).
Source:
- [Discord discussion on assistantDestinations structure](https://discord.com/channels/1211482211119796234/1342171458524414012)Vapi Support Bot
05/14/2025, 10:34 AMassistantDestinations
in your squad JSON, ensure each entry includes the following required fields:
json
"assistantDestinations": [
{
"type": "assistant",
"assistantName": "Appointment Booking",
"message": "Please hold on while I transfer you to our appointment booking assistant.",
"description": "Transfer the user to the appointment booking assistant after they say their name."
}
]
Make sure the type
is set to "assistant"
and all other required fields are present to prevent errors.
Sources:
- [Vapi squad JSON documentation](https://docs.vapi.ai/squads)
- [Vapi squads example documentation](https://docs.vapi.ai/squads-example)Rishigangi
05/14/2025, 11:08 AMRishigangi
05/15/2025, 6:52 PM