Hangup a call

Hangup call command can be used in two situation:

  • Hangup an ongoing call.

  • Reject an inbound call that is starting or ringing

Hangup call

post

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
post
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/hangup

Example 1: Hangup a call

Last updated

Was this helpful?