Is there an endpoint in the vapi api to stop a ses...
# support
j
Is there an endpoint in the vapi api to stop a session?
@Vapi
v
@John Yes, VAPI does provide an endpoint to stop a session. This is typically done by sending a request to the appropriate endpoint with the session identifier. The specific details of the endpoint, such as the URL and required parameters, would depend on the API's documentation. If you need the exact details or have any other questions regarding how to use the endpoint, please let me know, and I'll be happy to assist you further!
j
What is the endpoint to do this.. @Vapi
v
@John Please ask support for more info on this.
message has been deleted
@John Yes, VAPI does provide a way to programmatically end a voice session. This is typically done by sending a specific command or API request that instructs the session to terminate. The exact endpoint and method to use can vary depending on the specific API or platform you're working with. If you're looking to stop a session and need guidance on the specific endpoint or method to use, please provide more details about the context or the platform you're using, and I'll be happy to assist you further!
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
j
@Shubham Bajaj Can you please help me out with this.. I need to deliver a project and if i can't get this to work i have to go with retellai.com sadly..
s
@John Sounds like you're talking about ending the call. You can do that in two ways: using the live call control feature or the telephony hangup XML. The second option depends on telephony TwiML, while the first requires sending a
ClientInboundMessageAddMessage
. You can learn more about that here: https://api.vapi.ai/api-json. In the message, just pass
trigger the endCall function
. https://cdn.discordapp.com/attachments/1316164235679502427/1317359328159862804/Screenshot_2024-12-14_at_10.44.09_AM.png?ex=675e65fb&is=675d147b&hm=1e33fdaaa28c9d5827252375d570e51c7e32c30ee6e60b50dce859cab5785b6b&
6 Views