How to implement Web SDK in a project hosted on sh...
# support
s
Trying to place web calls (with more control than the web snippet gives) using the Web SDK, but I'm using shared hosting, so there is no running NPM installs client-side. How can I make use of the Web SDK in this context? I have installed the VAPI AI Web SDK package to a directory serving server-side Node Js app (/server/node_modules/) can I somehow reference that and make use of it client-side? Or please advise.
So, I can use the /call endpoint to enable a user to press a button to start a call through the computer with an assistant and talk with it through their microphone? I thought I had to use the Web SDK or snippet to do that (currently using the snippet). If I can do that with the API and /call endpoint and use listenUrl, that'd be great. If I can, how do I set the phone number/phoneNumberId ?
Bump
s
@Stickler101 apology for the delay you can make the web calls using call endpoint and then use it's response to hook the call.
Yeah you can do all of the above using
/call/web
s
Gotcha, thanks!