Tags adicionadas à chamada
Hook emitido sempre que alguma tag relacionada à chamada é alterada. Os dados enviados são os seguintes:
Dados incompletos:
{
"content": {
"id": "64ece43e1e0406b3d41b1cfb",
"queue": {
"id": "64ece42db48250442a9390f5"
},
"department": {
"id": "5f723dda8945122fdc86b5cc"
},
"customer": {
"id": "5ffdab3181b6a51afc89ba7f"
},
"attendant": {
"id": "5eeed10c1fcc1918a892a3c1"
}
},
"hookType": "call_tags_update",
"hookDescription": "Tags da chamada alteradas",
"timestamp": "2023-08-28T18:15:50.812Z"
}
Dados completos:
{
"content": {
"id": "64ece43e1e0406b3d41b1cfb",
"initialDate": "2023-08-28T18:15:26.860Z",
"ticket": "23082820702166",
"recorded": false,
"tags": [
{
"id": "60ca32e7f57fcb3120600d00",
"label": "Tag",
"description": "Tag de teste",
"color": "#DC3545"
}
],
"textChat": [],
"department": {
"id": "5f723dda8945122fdc86b5cc",
"name": "Nuvidio",
"identifier": "nuvidio"
},
"customer": {
"name": "Cliente",
"tel": "31988888888",
"email": "[email protected]",
"cpf": null,
"id": "5ffdab3181b6a51afc89ba7f",
"connectedAt": "2023-08-28T18:15:34.097Z",
"status": false
},
"customerData": {},
"attendant": {
"name": "Atendente",
"id": "5eeed10c1fcc1918a892a3c1",
"email": "[email protected]"
},
"logs": [
{
"name": "connected",
"client": "Cliente",
"timestamp": "2023-08-28T18:15:37.952Z",
"detail": "User joining on room",
"clientRole": "customer"
},
{
"name": "connected",
"client": "Atendente",
"timestamp": "2023-08-28T18:15:37.169Z",
"detail": "User joining on room",
"clientRole": "attendant"
}
],
"questionnaire": [
{
"question": "Pergunta do questionário?",
"answer": ""
}
]
},
"hookType": "call_tags_update",
"hookDescription": "Tags da chamada alteradas",
"timestamp": "2023-08-28T18:15:50.844Z"
}
Updated 9 months ago