How to end a call from the server?
# support
j
I am assuming that, as we have an endpoint to initiate a call (https://api.vapi.ai/call/phone) we may have an endpoint to end the call, passing the callId. Is this correct? if not, how do I end a call from my server given a callId?
v
@JuanKa Currently, our system does not provide an endpoint to directly end a call via an API request. However, you can control the call flow and end the call from within your voice application logic. If you need to end a call programmatically from your server, you would typically instruct your voice application to hang up as part of the call logic when a certain condition is met. If you require further assistance on how to configure your voice application to end a call or if you have any other questions, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
9 Views