Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Essa API tem a função de retornar o registro de uma ligação de fila.

Nos cabeçalhos dos requests, é necessário incluir uma chave "token" cujo valor seja um token de API.

Esse recurso está disponível a partir da versão 6.69.0

Requisitando registro de uma chamada de fila

Endpoint

/api/v1/callcenter/call/{{queue_call_id}}

Method

GET

Exemplo de requisição

curl 'https://cliente.evolux.net.br/api/v1/callcenter/call/1' \
  --header 'token: [SUPRIMIDO POR SEGURANÇA]'


Exemplo de resposta

{
   "data" : {
      "agent_id" : 101,
      "agent_login" : "operador",
      "agent_name" : "Operador Silva",
      "asa" : "No",
      "call_duration" : 6000,
      "call_id" : 1,
      "call_issues" : [],
      "call_reason" : "",
      "call_type_description" : "In",
      "caller_area" : "",
      "caller_name" : "",
      "caller_number" : "99991",
      "city" : null,
      "csat" : "",
      "date_join" : "2020-01-11T14:05:00+00:00",
      "did_number" : "",
      "download_audio" : "https://cliente.evolux.net.br/api/v1/callcenter/call/1/recording",
      "end_by_description" : "Agent Hangup",
      "external_services" : [],
      "flag" : "",
      "nps" : "",
      "nps_enterprise" : "",
      "protocol_number" : "",
      "queue_id" : 1,
      "queue_name" : "superte",
      "queue_slug" : "suporte",
      "receicer_name" : "",
      "receiver_area" : "",
      "receiver_number" : "",
      "state" : null,
      "time_connect" : "2020-01-11T14:25:00+00:00",
      "time_join" : "2020-01-11T14:05:00+00:00",
      "time_leave" : "2020-01-11T16:05:00+00:00",
      "trunk_name" : "",
      "wait_duration" : 1200
   },
   "meta" : {
      "message" : "OK",
      "status" : 200
   }
}

  • No labels