Resume an Agent

Resume an agent‘s service from a queue. After an agent is resumed, the agent can receive calls from the queue.

Endpoint

POST /api/v1.1.0/queue/unpause_agent?token={token}

Request Parameters

Parameter Name Importance Type Description
queueid Required Int Queue number.
extid Required Int Extension number of the agent.

Examples

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