Listar chamadas realizadas por um cliente
Changed onLista os chats relacionados a um cliente. Possui uma lógica de paginação onde a empresa informa quantas chamadas deseja listar e a página atual. É necessário realizar a autenticação com o token fornecido no login.
get/v1/api/calls/customer/{id}
Request
- Base URLhttps://api.nuvidio.com
- URLhttps://api.nuvidio.com/v1/api/calls/customer/{id}
- Authnone required
Path parameters
idstring required
Query parameters
takeinteger
pageinteger
Response
200
Example response
{
"count": 1,
"calls": [
{
"id": "6112dfec4dc17f51b56ff290",
"initialDate": "2021-08-10T20:22:04.449Z",
"ticket": "20210810924450",
"duration": 236,
"customer": {
"id": "62fd347dc402f5558cf8b431",
"name": "Joao Luiz",
"connected": true,
"connectedAt": "2021-08-10T20:22:04.449Z"
},
"attendant": {
"id": "62df5e65ab9170560f0cc2b8",
"name": "Daniela",
"connected": true,
"connectedAt": "2021-08-10T20:22:04.449Z"
},
"department": {
"id": "62df5cc73b184adc58a4c057",
"name": "NuVidio",
"identifier": "nuvidio-atendimento"
}
}
]
}Changes
- info
endpoint added
- info