fbpx

< / >

APIs Speech Analytics

1. Speech Calls En

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/speech_analytics.php?api=speech_calls&date_ini={{YYYYmmddHHiiss}}&date_end={{YYYYmmddHHiiss}}&filter={{filter}}&value={{value}}

Description:

API that allows generating speech analytics information and all voice to text conversion analysis in calls.

Benefit:

It allows to optimize the analysis of voice to text conversions without having to listen to the recordings of the calls.

How it works:

  • This API is consumed by GET method.
  • To consume this API you must replace in the URL {{wolkvox_server}} by the nomenclature of the server of the operation.
  • The wolkvoxtoken header must be used to use the authorization token.
  • Keep in mind that the same token cannot be consumed simultaneously, so you can program that the next API is consumed when the result of the previous one is successful.

NAMEDESCRIPTIONTYPE
apiType of report requiredString
date_iniInitial Date (YYYYmmddHHiiss)String
date_endFinal Date (YYYYmmddHHiiss)String
filterField name, column, or to filter the searchString
valueValue to which the filter is to be appliedString

NAMEDESCRIPTIONTYPE
conn_idIt corresponds to the call IDString
agent_idIt is the numerical user that is assigned to each of the wolkvox agentsString
customer_phoneIt corresponds to the customer‘s phoneString
timeIndicates time in units of secondsString
dateIndicates the date with yearmonthdayhour formatString
cod_actRefers to the call classification String
greetingGreetingString
slow_to_greetIndicates if there was slowness in the greetingString
greeting_agent_nameIndicates if the agent greets with his nameString
category01Category 1 customizable and configurable in the speechString
category02Category 2 customizable and configurable in the speechString
category03Category 3 customizable and configurable in the speechString
category04Category 4 customizable and configurable in the speechString
category05Category 5 customizable and configurable in the speechString
silencePercentage of silence in the callString
audio_textVoice to text conversion of the callString
customer_idCorresponds to the customer‘s identification numberString
summarySummary of the call conversationString
feelingAverage feeling of the customer about the conversationString

Possible response codes
				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/speech_analytics.php?date_ini={{YYYYmmddHHiiss}}&date_end={{YYYYmmddHHiiss}}&api=speech_calls&filter={{filter}}&value={{value}}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'wolkvox-token: {{token}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": "200",
    "error": null,
    "msg": "1 records were found",
    "data": [
        {
            "conn_id": "",
            "agent_id": "",
            "customer_phone": "",
            "time": "",
            "date": "",
            "cod_act": "",
            "greeting": "",
            "slow_to_greet": "",
            "greeting_agent_name": "",
            "category01": "",
            "category02": "",
            "category03": "",
            "category04": "",
            "category05": "",
            "silence": "",
            "audio_text": "",
            "customer_id":"",
            "summary": "",
            "feeling":""
        }
    ]
}
				
			
We use cookies, if you continue browsing we will assume that you agree. You can read more about the use of cookies in our privacy policies and treatment of personal data