Retrieve agents
You can list all agents of an account and view their availability on the various channels.
curl "https://api.boldchat.com/aid/$accountId/data/rest/json/v1/getOperators?auth=$authHash"
Response:
{
"Status":"success",
"Truncated":false
"Data":[
{
"LoginID":"123456789",
"UserName":"user",
"ChatName":"Agent",
"Name":"Agent",
"Email":"test@example.com",
"EmailName":"Agent"
"SmsService": {
"Capacity": 0,
"Available": true
},
"EmailService": {
"Capacity": 0,
"Available": false
},
"ChatService": {
"Capacity": 0,
"Available": true
}
}]
}