Terminate an ongoing call.
This will hang up the call via the telephony provider (Twilio, Telnyx, or SIP). Only works for calls that are currently in ‘ongoing’ status.
| Parameter | Type | Required | Description |
|---|---|---|---|
call_sid | string | Yes | The unique call SID (Session ID) from your telephony provider |
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the termination was successful |
message | string | Status message including the provider used |
| Provider | Notes |
|---|---|
| Twilio | Uses Twilio’s call update API |
| Telnyx | Uses Telnyx Call Control API |
| Vonage | Uses Vonage Voice API |
| SIP bridge | Uses the configured SIP bridge termination path |