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