VAPI Squads and WebSDK

Hi team,

I’d like to launch an entire Squad (not a single assistant) from a custom “Call” button on my website.

• The legacy html-script-tag widget lets you pass squad, but it now breaks because it loads an old daily-js build.
• The modern Web SDK (@Vapi-ai/web) works great but only accepts assistantId / assistant in vapi.start() and returns 400 when I send squadId.

Is there a recommended way to start a Squad-level web call (WebRTC) from the browser, or should that always be done via the Server SDK?

Thanks in advance!
Was this page helpful?