Agents
Get an agent
One agent by ID or email.
Without id, yourself.
POST/v1/configuration/action/get_agent
Specifics
| Method URL | POST https://app.staging.mlive.chat/v1/configuration/action/get_agent |
|---|---|
| Who can call it | Bots, with a bot token (mlcb_), and signed-in agents. |
Request body
application/json
idstring
Response
200 · application/json
OK.
idstringrequirednamestringrequiredemailstringrolestringrequiredOne ofowner,normal.typestringrequiredOne ofhuman,bot.login_statusstringrequiredOne ofaccepting chats,not accepting chats.routing_statusstringrequiredOne ofaccepting_chats,not_accepting_chats,offline.job_titlestringavatar_pathstringmax_chats_countintegerrequiredgroupsarray of objectrequiredsuspendedbooleanrequiredawaiting_approvalbooleanrequired
Errors
- default
Nothing found. Try a method name, such as send event.