hxrdxk
04/30/2025, 3:33 PMVapi Support Bot
04/30/2025, 3:35 PMmembersOverrides are not currently supported with squadId. Here's a workaround:
javascript
// 1. Get your squad configuration
const squad = {...squadConfig}
// 2. Create transient squad with overrides
const callPayload = {
squad: {
...squad,
membersOverrides: {
variableValues: {
customer_name: "John",
product_type: "Premium"
}
}
}
};
// 3. Use this transient squad in your call
This approach fetches your squad configuration and creates a transient squad with the same configuration plus your desired overrides.
Source:
- [Discord Channel](https://discord.com/channels/1211482211119796234/1342518227816808449)Chiranjeet Mishra
04/30/2025, 8:07 PM