hangup
disconnects the active call.
A few things to note:
- If there are two calls in the session, both will be disconnected. This will terminate the session triggering the session summary webhook(VSS).
- All params in
hangup
are optional
Path for the new API
/POST voice.wavecell.com/api/v1/subaccounts/{sub-account-id}/callflows
- v1.2
Sample of a hangup
request
hangup
request{
"action": "hangup"
}