fbpx
Search
Close this search box.
Search
Close this search box.

< / >

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.
REQUEST
NAME DESCRIPTION TYPE
api Type of report required String
date_ini Initial Date (YYYYmmddHHiiss) String
date_end Final Date (YYYYmmddHHiiss) String
filter Field name, column, or to filter the search String
value Value to which the filter is to be applied String
RESPONSE
NAME DESCRIPTION TYPE
conn_id It corresponds to the call ID String
agent_id It is the numerical user that is assigned to each of the wolkvox agents String
customer_phone It corresponds to the customer‘s phone String
time Indicates time in units of seconds String
date Indicates the date with yearmonthdayhour format String
cod_act Refers to the call classification  String
greeting Greeting String
slow_to_greet Indicates if there was slowness in the greeting String
greeting_agent_name Indicates if the agent greets with his name String
category01 Category 1 customizable and configurable in the speech String
category02 Category 2 customizable and configurable in the speech String
category03 Category 3 customizable and configurable in the speech String
category04 Category 4 customizable and configurable in the speech String
category05 Category 5 customizable and configurable in the speech String
silence Percentage of silence in the call String
audio_text Voice to text conversion of the call String
customer_id Corresponds to the customer‘s identification number String
summary Summary of the call conversation String
feeling Average feeling of the customer about the conversation String
Posibles códigos de respuesta
				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL =&gt; 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/speech_analytics.php?date_ini={{YYYYmmddHHiiss}}&amp;date_end={{YYYYmmddHHiiss}}&amp;api=speech_calls&amp;filter={{filter}}&amp;value={{value}}',
  CURLOPT_RETURNTRANSFER =&gt; true,
  CURLOPT_ENCODING =&gt; '',
  CURLOPT_MAXREDIRS =&gt; 10,
  CURLOPT_TIMEOUT =&gt; 0,
  CURLOPT_FOLLOWLOCATION =&gt; true,
  CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST =&gt; 'GET',
  CURLOPT_HTTPHEADER =&gt; 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":""
        }
    ]
}
				
			

Hacemos uso de cookies, si continúas navegando asumiremos que estás de acuerdo. Puede leer más sobre el uso de cookies en nuestras políticas de privacidad y tratamiento de datos personales

Hacemos uso de cookies, si continúas navegando asumiremos que estás de acuerdo. Puede leer más sobre el uso de cookies en nuestras políticas de privacidad y tratamiento de datos personales