create squad | handOff tool message issue

Hi there,

Could you please share the approach or correct technique with using the Vapi CREATE squad API endpoint so that when i create the squad, I am able to also create the squad with handOff tools that have a fixed content that can be said by the assistant before, during or prior the handOff?

I have tried using both assistantOverrides and memberOverrides objects when calling the CREATE squad API, both resulting in having no effect on forcing the agent to say something before handing off.

If i manually apply the configuration in the squad UI panel, it will work take effect but trying to apply the configuration through the API has been unsuccessful.
See image attached to clarify exactly what I am referring to.

Could you please provide advice on what is the correct method to apply this through the API so that it takes effect properly.
image.png
Was this page helpful?