Hold a Call

Put an active call on hold.

Note: You can use the Resume Call on Hold interface to resume the call.

Endpoint

POST /api/v1.1.0/extension/hold?token={token}

Request Parameters

Name Importance Type Description
extid Required Int Put the extension's call on hold.

Examples

Request Example
POST /api/v1.1.0/extension/hold?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: api.yeastarcloud.com
{
    "extid": "1000"
}
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
    "status": "Success"
}