Configuration APIList agents

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 URLPOST https://app.staging.mlive.chat/v1/configuration/action/list_agents
Who can call itBots, with a bot token (mlcb_), and signed-in agents.

Request body

application/json

  • filtersobject

  • filters.group_idsarray of integer

  • filters.suspendedboolean

Response

200 · application/json

OK.

  • [].idstringrequired

  • [].namestringrequired

  • [].emailstring

  • [].rolestringrequired

    One of owner, normal.
  • [].typestringrequired

    One of human, bot.
  • [].login_statusstringrequired

    One of accepting chats, not accepting chats.
  • [].routing_statusstringrequired

    One of accepting_chats, not_accepting_chats, offline.
  • [].job_titlestring

  • [].avatar_pathstring

  • [].max_chats_countintegerrequired

  • [].groupsarray of objectrequired

  • [].suspendedbooleanrequired

  • [].awaiting_approvalbooleanrequired

Errors

  • default