Listar chamadas realizadas por um atendente
Changed onLista os chats relacionados a um atendente. 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/attendant/{id}
Request
- Base URLhttps://api.nuvidio.com
- URLhttps://api.nuvidio.com/v1/api/calls/attendant/{id}
- Authnone required
Path parameters
idstring required
Query parameters
takeinteger
pageinteger
searchstring
Response
200
Example response
{
"count": 1,
"calls": [
{
"id": "108186352265184ea7b0c1c7",
"initialDate": "2021-04-22T14:22:13.456+00:00",
"ticket": "20230527333456",
"duration": "11243677",
"customer": {
"id": "62fd347dc402f5558cf8b431",
"name": "John",
"connected": true,
"connectedAt": "2021-04-22T14:25:13.456+00:00"
},
"attendant": {
"id": "62df5e65ab9170560f0cc2b8",
"name": "Doe",
"connected": true,
"connectedAt": "2021-04-22T14:25:13.456+00:00"
},
"department": {
"id": "62df5cc73b184adc58a4c057",
"identifier": "guilherme.aprendendo",
"name": "aprendendo"
}
}
]
}Changes
- info
endpoint added
- info