Get real time conversations KPI's

GET /manager/bi/realtime/chatrooms

Query parameters

  • Filter by id ambassador

  • Filter by ambassador status (0: ambassador, 1: employee, 2: administrator, 3: seller, 4: shop manager, 5: manager, 6: expert)

    Values are 0, 1, 2, 3, 4, 5, or 6.

Responses

GET /manager/bi/realtime/chatrooms
curl \
 -X GET https://domain.tld/api/v2/manager/bi/realtime/chatrooms \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "on_going_conversations": 10,
  "new_dialogues": 10,
  "active_dialogues": 10,
  "closed_conversations": 10,
  "average_rating": 10,
  "conversation_without_member_message": 10
}
Response examples (401)
{
  "message": "Unauthorized."
}