Call Management
Hang Up a Call
Terminate an active Vobiz call by UUID - hang up the A-leg, B-leg, or full bridged session instantly with a DELETE request that triggers CDR generation.
DELETE
Hang Up a Call
Authentication required:
X-Auth-ID- Your account Auth IDX-Auth-Token- Your account Auth TokenContent-Type: application/json
Hanging up a call triggers the
hangup_url callback if one was configured when the call was initiated, allowing you to perform cleanup or logging.string
required
Your Vobiz account ID, for example
MA_XXXXXXXX.Path parameters
string
required
Your Vobiz account ID. Use the same value in
X-Auth-ID.string
required
Unique identifier of the call to hang up.
Request Parameters
No Request Body Required: This endpoint does not require any request body parameters. Simply send a DELETE request to the endpoint URL.
Response
Returns a confirmation that the hangup request was processed.Response - 204 No Content
After Hangup: The callβs final CDR will show
hangup_source as βAPIβ and the hangup_cause_code will indicate a programmatic termination (typically code 16: NORMAL_CLEARING).Example Request
cURL
Use Cases
- Terminate abandoned or idle calls to prevent billing
- Implement time-based call limits for compliance
- End calls based on external triggers (e.g., fraud detection)
- Implement emergency call termination features
- Clean up stale call sessions during maintenance