Skip to main content
POST
Requests that an active call be ended. Only a call in a non-terminal state can be hung up. The response returns the call in its current state; the call moves to a terminal state (finished) asynchronously, once the provider confirms the hangup. Poll Get a Call for the final state. Requires the voice_calls.write scope and the Voice Calls product entitlement.

Path Parameters

string
required
The id of the active call to hang up.

Response Fields

object
The hung-up call.

Examples

Error Codes