Hi everyone, Can anyone tell me how can i send metadata when I am using a web snippet of Vapi.ai.
I am trying in this way, but it's working.
vapiInstance = vapiSDK.run({
apiKey: apiKey,
assistant: agentId,
metadata: { userId: userId },
config: buttonConfig,
});
Can anyone please help with this?