Estatísticas em tempo real

Changed on

Retorna algumas informações do departamento em tempo real como chamadas em andamento, clientes na fila, atendentes online e uma listagem do status de cada atendente do departamento.

get/v1/api/department/{id}/statistics

Request

  • Base URL
    https://api.nuvidio.com
  • URL
    https://api.nuvidio.com/v1/api/department/{id}/statistics
  • Auth
    none required

Request body

idstring required

Id do departamento

Response

200

countInCallinteger
countInQueueinteger
countAttendantsOnlineinteger

Example response

{
  "attendants": [
    {
      "id": "5cb6490584f3022388480647",
      "name": "Cléber",
      "lastName": "Luiz",
      "email": "cleber@nuvidio.com.br",
      "status": 3
    }
  ]
}

Changes