Disconnect an Outbound Call
Disconnect an active outbound call.
Endpoint
POST /api/v0.0.1/outbound/hangup?token={token}&type={type}
Request Parameters
Name | Importance | Type | Description |
outboundid | Required | String | Hang up the specified outbound call. |
Examples
Request Example
POST /api/v0.0.1/outbound/hangup?token=813b621cfe8eecf445a2ce1f4a079ffe&type=json HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 172.16.6.150
{
"outboundid":"1589938378.1130"
}
POST /api/v0.0.1/outbound/hangup?token=813b621cfe8eecf445a2ce1f4a079ffe&type=xml HTTP/1.1
Content-Type:application/xml; charset=utf-8
Host: 172.16.6.150
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<outboundid>1589938378.1130</outboundid>
</xml>
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
"status": "Success"
}