Hangup a call
Hangup call command can be used in two situation:
Hangup an
ongoingcall.Reject an inbound call that is
startingorringing
Hangup a channel call
Authorizations
HTTPRequired
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
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 · enumOptionalPossible values:
Responses
202
Call Command hangup was accepted for processing
application/json
400
The request did not pass validation
application/json
404
The request did not pass validation
application/json
422
The request did not pass validation
application/json
post
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/hangupExample 1: Hangup a call
Last updated
Was this helpful?

