Manage Agents
Pause Agent
Pause Agent
This endpoint allows you to pause an agent by providing the extension number and the pause type ID.
Request Body
-
agent (text, required): Enter the extension number you wish to pause.
-
format (text): The format of the response.
-
pauseId (text, required): Enter the ID of the Pause type. You can get the full list of pauses for your account by using the “PausesList” API method.
Response
The response will be in JSON format with the following fields:
-
success: Indicates the success of the pause action.
-
message: Provides additional information about the pause action.
Example
{
"success": "",
"message": ""
}
post/api/pause
Request
- Base URLhttps://your-instance.stats.pbx.commpeak.com
- URLhttps://your-instance.stats.pbx.commpeak.com/api/pause
- AuthAPI key in header X-API-KEY
Request body application/x-www-form-urlencoded
Example request
{
"agent": "<string>",
"format": "json",
"pauseId": "<string>"
}Response
successful
Example response
{
"message": "<string>",
"success": "<boolean>"
}Changes
No recorded changes to this operation across all 1 revision of this API.