Bhargav Chinnari
10/23/2025, 8:44 AMfrom vapi import Vapi
client = Vapi(token=MY_TOKEN) ## private key
with open("assistant_create.json", "r") as f:
conf = json.load(f)
response = client.assistants.create(**conf)
My configuration is as follows
{
"name": "Movie Booking Assistant",
"model": {
"model": "gpt-4o",
"messages": [
{
"role": "system",
"content": "# You are a helpful movie ticket booking assistant. \n## Your job is to collect following details from the user:\n- Name of the movie\n- The date of the movie\n- The number of people attending\n- The venue (city or theater name)\n## Instructions\n- Ask one question at a time. Do not guess or assume missing information. Be conversational and friendly.\n- After collecting all the above details, summarize the booking once.\n- If the user says yes to the final summary , then end the chat with \"Thank you for booking with us!\""
}
],
"provider": "openai"
},
"first_message": "Welcome to the movie ticket booking system. How can i help you?",
"voicemail_message": "Please call back when you're available.",
"end_call_message": "Goodbye.",
"transcriber": {
"model": "nova-2",
"language": "en",
"provider": "deepgram"
},
"voice" :{
"provider": "custom-voice",
"server" : {
"url": MY_TTS_ENDPOINT,
"secret": "",
"timeoutSeconds": 45,
"headers": {"Content-Type": "application/json", "X-API-Version": "v1"}
}
}
}
Assistant is created successfully. However , when i am making a call on dashboard by click on "Talk to assistant", conversation is not initiated and I am getting the message that "agentOverrides.voice.property voiceId property should not exist".
and also the agent is always in unpublished state.Vapi Support Bot
10/23/2025, 8:45 AMvoiceId property when using a custom TTS provider.
Here’s the correct format:
json
"voice": {
"provider": "custom-voice",
"server": {
"url": "YOUR_TTS_ENDPOINT",
"secret": "",
"timeoutSeconds": 45,
"headers": {
"Content-Type": "application/json",
"X-API-Version": "v1"
}
}
}
Double-check your configuration and remove any voiceId field, then try publishing and testing your assistant again.
(Reference: found information)Bhargav Chinnari
10/23/2025, 8:47 AM"voice" :{
"provider": "custom-voice",
"server" : {
"url": MY_TTS_ENDPOINT,
"secret": "",
"timeoutSeconds": 45,
"headers": {"Content-Type": "application/json", "X-API-Version": "v1"}
}
}
it doesnt have voiceId fieldBhargav Chinnari
10/23/2025, 9:00 AMBhargav Chinnari
10/24/2025, 12:24 PMChiranjeet Mishra
10/24/2025, 6:41 PMvoiceId and model. Recently, the platform expanded to allow specifying any valid voiceId for assistant voices, offering more flexibility for configurations. You can also specify Deepgram voice models as "aura" or "aura-2" by setting the model property.
For detailed guidance on voice configurations and updates, you can refer to the [April 12, 2025 Changelog](https://docs.vapi.ai/changelog/2025/4/12) and the [API Reference](https://docs.vapi.ai/api-reference/tools/delete).
If you have more specific issues or need further configuration assistance, please let me know.Bhargav Chinnari
10/26/2025, 1:16 AMBhargav Chinnari
10/28/2025, 2:55 AMChiranjeet Mishra
10/29/2025, 4:07 AMBhargav Chinnari
10/29/2025, 5:12 AMBhargav Chinnari
11/01/2025, 1:15 AMBhargav Chinnari
11/03/2025, 3:24 AMBhargav Chinnari
11/04/2025, 8:17 AMChiranjeet Mishra
11/06/2025, 9:58 PMBhargav Chinnari
11/11/2025, 8:20 AMChiranjeet Mishra
11/14/2025, 1:13 AM