Agents
List agents
Every agent and bot in your organization.
filters.group_ids keeps those in any of the groups.
POST/v1/configuration/action/list_agents
Specifics
| Method URL | POST https://app.staging.mlive.chat/v1/configuration/action/list_agents |
|---|---|
| Who can call it | Bots, with a bot token (mlcb_), and signed-in agents. |
Request body
application/json
filtersobjectfilters.group_idsarray of integerfilters.suspendedboolean
Response
200 · application/json
OK.
[].idstringrequired[].namestringrequired[].emailstring[].rolestringrequiredOne ofowner,normal.[].typestringrequiredOne ofhuman,bot.[].login_statusstringrequiredOne ofaccepting chats,not accepting chats.[].routing_statusstringrequiredOne ofaccepting_chats,not_accepting_chats,offline.[].job_titlestring[].avatar_pathstring[].max_chats_countintegerrequired[].groupsarray of objectrequired[].suspendedbooleanrequired[].awaiting_approvalbooleanrequired
Errors
- default
Nothing found. Try a method name, such as send event.