Prakhar Agrawal
12/10/2025, 6:19 PMVapi Support Bot
12/10/2025, 6:20 PMmembersOverrides field in your squad payload. Here’s a concise example for an inline squad schema with dynamic prompt overrides:
json
{
"squad": {
"members": [
{ "assistantId": "english-hindi-nbt-id" },
{ "assistantId": "kannada-nbt-id" }
],
"membersOverrides": {
"english-hindi-nbt-id": { "prompt": "Your dynamic prompt here" },
"kannada-nbt-id": { "prompt": "Another dynamic prompt" }
}
}
}
Replace the assistant IDs and prompts as needed. For more details, see the [Squads Example documentation](https://docs.vapi.ai/squads-example).
Source:
- [Squads Example documentation](https://docs.vapi.ai/squads-example)Prakhar Agrawal
12/10/2025, 6:21 PMPrakhar Agrawal
12/10/2025, 6:22 PMPrakhar Agrawal
12/10/2025, 6:23 PMPrakhar Agrawal
12/10/2025, 6:48 PM{
squad: {
members: [
{ assistantId: "6c86c2d7-..." },
{ assistantId: "6a34a74f-..." }
],
membersOverrides: {
"6c86c2d7-...": { model: { messages: [{ role: "system", content: dynamicPrompt }] } }
}
}
}
Using assistantOverrides per member (from docs):
javascript
{
squad: {
members: [
{
assistantId: "6c86c2d7-...",
assistantOverrides: { model: { messages: [...] } }
}
]
}
}
Question: Can you provide the exact Web SDK payload format for vapi.start() that allows dynamic prompt injection into squad members? Is there a difference between API and Web SDK payload structures?
Thanks!Chiranjeet Mishra
12/12/2025, 6:15 PMassistantOverrides within the squad payload for each assistant. Here's how you can structure your payload:
javascript
{
squad: {
members: [
{
assistantId: "6c86c2d7-a42a-49b0-b995-1778fadd0715",
assistantOverrides: {
model: {
messages: [
{ role: "system", content: "Your dynamic prompt for English-Hindi NBT" }
]
}
}
},
{
assistantId: "6a34a74f-9d16-4f8b-a871-4e7c88cdfdea",
assistantOverrides: {
model: {
messages: [
{ role: "system", content: "Your dynamic prompt for Kannada NBT" }
]
}
}
}
]
}
}
For handoff tools, you can also modify them using assistantOverrides. Insert your dynamic descriptions or other required fields in the tools:append within the assistantOverrides for each assistant. The handoff tools documentation can be found [here](https://docs.vapi.ai/tools/handoff).
Ensure you replace the placeholders with your dynamic data, and this structure should help you bypass the 400 errors. If there are further specifics or configuration from the API that differ from the Web SDK, these should generally align unless specified in the docs.Prakhar Agrawal
12/14/2025, 4:44 PMPrakhar Agrawal
12/14/2025, 4:45 PM