Listar chamadas

Changed on

Lista as chamadas relacionados a empresa. Possui uma lógica de paginação onde a empresa informa quantas chamadas deseja listar e a página atual.

get/v1/api/calls

Request

  • Base URL
    https://api.nuvidio.com
  • URL
    https://api.nuvidio.com/v1/api/calls
  • Auth
    none required

Query parameters

orderBystring
tagsstring[]

Response

200

countinteger

Example response

{
  "count": 1,
  "calls": [
    {
      "id": "6112dfec4dc17f51b56ff290",
      "initialDate": "2021-08-10T20:22:04.449Z",
      "ticket": "20210810924450",
      "duration": 236,
      "customer": {
        "id": "62fd347dc402f5558cf8b431",
        "name": "Joao Luiz",
        "email": "joao@exemplo.com",
        "tel": "31999999999"
      },
      "attendant": {
        "id": "6232dfab4dc17f51b56ff233",
        "lastName": "Sena",
        "name": "Daniela"
      },
      "department": {
        "id": "62df5cc73b184adc58a4c057",
        "name": "NuVidio",
        "identifier": "nuvidio-atendimento"
      },
      "rating": {
        "callRating": 5,
        "attendantRating": 5,
        "review": "Muito bom"
      }
    }
  ]
}

Changes