San Sanych
05/25/2025, 3:31 PMVapi Support Bot
05/25/2025, 3:32 PMvapi.start()
, following the same structure as the "Create Assistant" API. This allows you to set dynamic values like prompt, voice, and language per call. For a full list of possible parameters, refer to the [API reference for creating an assistant](https://docs.vapi.ai/api-reference/assistants/create-assistant). You can also use assistantOverrides
for dynamic variables.
However, not every dashboard feature may be available or fully supported in the Web SDK, especially for advanced options like Messaging or custom speaking plans, which could explain the errors you're seeing.
Could you share a specific parameter or error message that is blocking you right now? This will help me provide more targeted guidance.
Sources:
- [Vapi Web SDK documentation](https://docs.vapi.ai/sdk/web)
- [Create Assistant API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant)
- [Dynamic Variables](https://docs.vapi.ai/assistants/dynamic-variables)San Sanych
05/25/2025, 3:33 PM{
"message": [
"assistant.property variables should not exist",
"assistant.property predefined should not exist",
"assistant.voice.property styleExaggeration should not exist",
"assistant.functions.each value in nested property functions must be either object or array",
"assistant.messagePlan.property voicemailMessage should not exist",
"assistant.messagePlan.property endCallMessage should not exist",
"assistant.startSpeakingPlan.property onPunctuationSeconds should not exist",
"assistant.startSpeakingPlan.property onNoPunctuationSeconds should not exist",
"assistant.startSpeakingPlan.property onNumberSeconds should not exist",
"assistant.stopSpeakingPlan.property numberOfWords should not exist"
],
"error": "Bad Request",
"statusCode": 400
}
Vapi Support Bot
05/25/2025, 3:35 PMjs
vapi.start({
name: "My Temp Assistant",
model: { provider: "openai", model: "gpt-3.5-turbo" },
voice: { provider: "playht", voiceId: "jennifer" },
transcriber: { provider: "deepgram", model: "nova-2", language: "en-US" }
});
Tip: Omit fields like variables
, predefined
, styleExaggeration
, and nested voicemailMessage
or `onPunctuationSeconds`—these are not supported in the Web SDK and will cause errors. For the full list of allowed fields, refer to the [API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant).
Sources:
- [Vapi Web SDK documentation](https://docs.vapi.ai/sdk/web)
- [Create Assistant API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant)San Sanych
05/25/2025, 3:36 PMVapi Support Bot
05/25/2025, 3:37 PMjs
vapi.start({
name: "My Temp Assistant",
model: { provider: "openai", model: "gpt-3.5-turbo" },
voice: { provider: "playht", voiceId: "jennifer" },
transcriber: { provider: "deepgram", model: "nova-2", language: "en-US" }
});
Tip: If you get a "should not exist" error, remove that field from your config. Always refer to the [API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant) and test your config for compatibility.
Sources:
- [Create Assistant API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant)
- [Vapi Web SDK documentation](https://docs.vapi.ai/sdk/web)San Sanych
05/25/2025, 3:39 PMVapi Support Bot
05/25/2025, 3:41 PMjs
vapi.start({
name: "Dynamic Assistant",
model: {
provider: "openai",
model: "gpt-3.5-turbo",
messages: [{ role: "system", content: "Your custom prompt here." }]
},
// ...other config
});
For dashboard assistants, only dynamic variables (e.g., {{name}}
) can be changed per call via assistantOverrides
, not the prompt text itself.
Sources:
- [Dynamic Variables](https://docs.vapi.ai/assistants/dynamic-variables)
- [Vapi Web SDK documentation](https://docs.vapi.ai/sdk/web)San Sanych
05/25/2025, 4:03 PMVapi Support Bot
05/25/2025, 4:06 PMjs
vapi.start({
name: "My Temp Assistant",
model: { provider: "openai", model: "gpt-3.5-turbo" },
voice: { provider: "playht", voiceId: "jennifer" },
transcriber: { provider: "deepgram", model: "nova-2", language: "en-US" }
});
Sources:
- [Create Assistant API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant)
- [Vapi Web SDK documentation](https://docs.vapi.ai/sdk/web)Shubham Bajaj
05/26/2025, 5:50 AMVapi Support Bot
05/26/2025, 5:52 AMjs
vapi.start({
name: "My Temp Assistant",
model: { provider: "openai", model: "gpt-3.5-turbo" },
voice: { provider: "playht", voiceId: "jennifer" },
transcriber: { provider: "deepgram", model: "nova-2", language: "en-US" }
});
If you encounter errors, remove the problematic fields and refer back to the API reference for guidance.
Sources:
- [Create Assistant API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant)
- [Vapi Web SDK documentation](https://docs.vapi.ai/sdk/web)Kings_big💫
05/26/2025, 6:37 AMVapi Support Bot
05/26/2025, 6:39 AMjs
vapi.start({
name: "My Temp Assistant",
model: { provider: "openai", model: "gpt-3.5-turbo" },
voice: { provider: "playht", voiceId: "jennifer" },
transcriber: { provider: "deepgram", model: "nova-2", language: "en-US" }
});
Test your config and refer to the API reference for allowed fields.
Sources:
- [Create Assistant API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant)
- [Vapi Web SDK documentation](https://docs.vapi.ai/sdk/web)San Sanych
05/26/2025, 9:39 AMVapi Support Bot
05/26/2025, 9:40 AMjs
vapi.start({
name: "My Temp Assistant",
model: { provider: "openai", model: "gpt-3.5-turbo" },
voice: { provider: "playht", voiceId: "jennifer" },
transcriber: { provider: "deepgram", model: "nova-2", language: "en-US" }
});
Sources:
- [Create Assistant API reference](https://docs.vapi.ai/api-reference/assistants/create-assistant)
- [Vapi Web SDK documentation](https://docs.vapi.ai/sdk/web)KINGS BIG
05/26/2025, 11:07 PMSan Sanych
06/04/2025, 4:51 PMSan Sanych
06/04/2025, 4:58 PMKINGS BIG
06/05/2025, 12:26 AMSan Sanych
06/07/2025, 9:46 AMKings_big💫
06/07/2025, 9:48 AM