Barden
09/18/2024, 8:57 AMVapi
09/18/2024, 8:58 AMVapi
09/18/2024, 8:58 AMvapi.on("call-end") event does not provide an argument for the call ID directly, you may need to use another method provided by the API to retrieve the call ID.
If VAPI provides a method to get the current call ID during the call or stores it in a context accessible by your code, you should use that. If such a method is not available or documented, you may need to maintain the call ID in your application's state when the call starts and then reference it when the call ends.
If you're unsure how to proceed or if the API documentation does not provide clear instructions on how to retrieve the call ID, please reach out to the support team for more information on this. They should be able to guide you on the proper way to obtain the call ID based on the specifics of the VAPI.Vapi
09/18/2024, 8:59 AMShubham Bajaj
09/19/2024, 7:50 PMBarden
09/20/2024, 5:52 AMBarden
09/20/2024, 6:44 AM