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 call
Hangup a channel call
POST/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/hangup
Authorization
Path parameters
workspaceId*string (uuid)
The ID of the workspace
callId*string (uuid)
The ID for a call
channelId*string (uuid)
The ID for a channel
Body
causeenum
rejectedbusy
Response
Call Command hangup was accepted for processing
Body
idId-2 (string (uuid))
callIdId-2 (string (uuid))
callFlowIdId-2 (string (uuid))
statusstring
commandstring
Request
Response
Example 1: Hangup a call
Last updated