Hangup a call
Hangup call command can be used in two situation:
Hangup an
ongoing
call.Reject an inbound call that is
starting
orringing
Reasons hangup a call - not mandatory
Hangup a channel call
post
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/hangup
Authorizations
Path parameters
workspaceIdstring · uuidrequired
The ID of the workspace
callIdstring · uuidrequired
The ID for a call
channelIdstring · uuidrequired
The ID for a channel
Body
causestring · enum
Options:
rejected
, busy
Responses
application/json
application/json
application/json
application/json
cURL
JavaScript
Python
HTTP
202
400
404
422
Example 1: Hangup a call
Last updated
Was this helpful?