How to Update Call
# support
w
Hi. I'm trying to integrate vapi into our startup. I need to be able to send a request to your server with a call update from the server when a certain event occurs. It should be asynchronous. It turns out that the client communicates with the AI ​​assistant, my server analyzes messages from vapi that come through webhooks. How can I change the prompt during a conversation or update the conversation so that it goes in a different direction. I found a patch call request in the documentation, but it only changes the name. I also found sending system messages that can do what I need, in a chat with an assistant, but this is only for the client application. And I need it from the server. I could send such a message through a socket to the client, and from there to vapi, but there should be an other way.
m
What's up buddy
The closest thing to what you're looking for is probably going to be live call control: https://docs.vapi.ai/calls/call-features
w
Thanks. will this work with web calls via library on js?
c
Yup.
m
yessirrr
3 Views