Buscar uma chamada

Changed on

Recupera os dados de uma chamada específica através do identificador único ou pela referência cadastrada.

get/v1/api/call/{id}

Request

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

Path parameters

idstring required

Response

200

idstring
initialDatestring
expirationDatestring
durationinteger
ticketstring
recordedboolean
recordingDeletedboolean
notesstring
textChatobject[]

Example response

{
  "id": "67acf176cc7a341eb06fdabd",
  "initialDate": "2025-02-12T19:07:34.979Z",
  "expirationDate": "2025-02-12T19:07:46.340Z",
  "duration": 12,
  "ticket": "25021273579554",
  "tags": [
    {
      "id": "66d0c5d3b9bef8acfa421dd3",
      "label": "Reprovada",
      "color": "#ff1a1a",
      "description": "Reprovada",
      "icon": "thumbs-down",
      "type": "primary"
    }
  ],
  "notes": "Sucesso atendimento",
  "rating": {
    "kind": "NPS",
    "attendantRating": 4
  },
  "department": {
    "id": "5f71281d112758f7d019c7c4",
    "name": "Gustavo",
    "identifier": "nuvidio-gustavo"
  },
  "queue": {
    "id": "67acf1740b2db13c59813ec3",
    "origin": "https://nuvidio.com/nuvidio?token=1234&push=true",
    "device": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",
    "enqueuedAt": "2025-02-12T19:07:32.163Z",
    "unqueuedAt": "2025-02-12T19:07:34.910Z",
    "createdAt": "2025-02-12T19:07:32.169Z"
  },
  "customer": {
    "name": "Gustavo",
    "tel": "00000000000",
    "email": "email@gmail.com",
    "cpf": "00000000000",
    "id": "60175bd1e43610318015fe4a",
    "connectedAt": "2025-02-12T19:07:37.896Z"
  },
  "customerData": {
    "nome-mae": {
      "label": "Nome mãe",
      "value": "Mãe"
    },
    "selfie": {
      "label": "Selfie",
      "value": "https://s3.sa-east-1.amazonaws.com/chat-file.nuvidio.com/5f5a2039f82aeb7bc0ee88c0/918aab8a-1629-4057-91ce-27740675c0c5.png",
      "type": "image"
    }
  },
  "invite": {
    "id": "67acf16ce081106e592999c1",
    "token": "1234",
    "link": "https://nuvidio.com/nuvidio?token=1234&push=true",
    "shortLink": "https://nuvidio.me/lv9"
  },
  "attendant": {
    "name": "Gustavo",
    "id": "5cb6490584f3022388480647",
    "email": "atendente@nuvidio.com.br",
    "reference": "referencia",
    "connectedAt": "2025-02-12T19:07:35.867Z"
  },
  "issues": [
    {
      "id": "67acf16be081106e5929997c",
      "key": "1asd6a1sd6565asd123123",
      "name": "Ticket 01",
      "notes": "Contrato aprovado",
      "tags": [
        {
          "id": "66ff0a8e949bd3c8708d4a0d",
          "label": "Aprovada",
          "color": "#5aad00",
          "description": "Aprovada",
          "icon": "thumbs-up",
          "type": "primary"
        }
      ],
      "data": [
        {
          "label": "chave",
          "value": "1asd6a1sd6565asd"
        }
      ]
    }
  ],
  "logs": [
    {
      "name": "disconnected",
      "client": "Gustavo",
      "timestamp": "2025-02-12T19:07:46.667Z",
      "detail": "User disconnected from room",
      "clientRole": "customer"
    }
  ],
  "questionnaire": [
    {
      "question": "Valor do Contrato",
      "answer": "100"
    }
  ]
}

Changes