Web SDK outgoing call support
# support
m
Hello!! Does the Web SDK support outgoing call? I couldn't figure out a way to pass the target outbound number. I would like to listen to an outbound call in progress. Also, is there an API to download recordings, call summary, transcripts?
v
You can continue this conversation by mentioning me in the message.
@Mamata Kondapally Hello! Yes, the Web SDK does support making outgoing calls. To initiate an outbound call, you typically need to use the SDK's method for placing a call and pass the target phone number as a parameter. The exact method name and parameter structure can vary depending on the SDK, but it usually involves a function like
makeCall
or similar. For listening to an outbound call in progress, the SDK should provide events or callbacks that you can listen to. These would give you real-time updates about the call status. Regarding the API for downloading recordings, call summaries, and transcripts, VAPI does provide such functionalities. You would use specific API endpoints to retrieve the recordings and transcripts of completed calls. The API documentation will have the exact details on how to use these endpoints, including the required parameters and the response you can expect. If you need the exact method names or API endpoints, I can provide more detailed information with the appropriate context or documentation. Please let me know if you need further assistance!
m
@User, I am specifically talking about the Vapi Web SDK https://docs.vapi.ai/sdk/web . It documents vapi.start as a way to start call, but the parameters don't accept a target number. Can you please point me to the documentation regarding API for downloading recordings, call summaries, and transcripts?
This link has no data on API for downloading recordings, call summaries, and transcripts.
s
No, it doesn't support outbound call cause it is not meant to be used in that way.
Use /call endpoint
m
Can you please point me to the call endpoint documentation?
Also, if you could tell me about API to download per call recording, summary, analysis?
@Sahil ☝️
If by call endpoint you mean use the REST api, I know about that. How do I listen to the call then?
s
You won't be able to listen the whole call but you can use the transcript functionality to get real time update.
m
@Sahil Thanks for your reply. What about API support for downloading Recording and other call data?
s
You can do it via /call/{call_id} endpoint.
m
@sahil is there an api to transfer call?
s
Nope. You just need to add in the tool.
m
How about end call?
s
just enable the endCallFunction: True
3 Views