Configuration APIGet an agent

Agents

Get an agent

One agent by ID or email.

Without id, yourself.

POST/v1/configuration/action/get_agent

Specifics

Method URLPOST https://app.staging.mlive.chat/v1/configuration/action/get_agent
Who can call itBots, with a bot token (mlcb_), and signed-in agents.

Request body

application/json

  • idstring

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