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

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:

REQUEST

NAME DESCRIPTION TYPE
api Type of report required String
date_ini Initial Date (YYYYmmddHHiiss) String
date_end Final Date (YYYYmmddHHiiss) String
filter Name of the column field or for filtering the search. It can take the values “id_call”, “id_agent”, “cod_act”, and “speech_to_text”. 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 Indicates if the agent greeted (yes) or not (no). String
slow_to_greet Indicates if there was a delay in greeting (yes/no). String
greeting_agent_name Indicates if the agent greets with their name (yes/no). 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 customer sentiment about the conversation. It can result in “Very negative”, “Negative”, “Neutral”, “Positive”, and “Very positive”. String
channel Channel to which the connector belongs. It can yield the values “voice”, “chat-whatsapp”, and “chat-sms”. String

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":"",
            "channel":""
        }
    ]
}
				
			

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:

NAME DESCRIPTION TYPE
api Type of report required String
date_ini Initial Date (YYYYmmddHHiiss) String
date_end Final Date (YYYYmmddHHiiss) String
filter Name of the column field or for filtering the search. It can take the values “id_call”, “id_agent”, “cod_act”, and “speech_to_text”. String
value Value to which the filter is to be applied String

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 Indicates if the agent greeted (yes) or not (no). String
slow_to_greet Indicates if there was a delay in greeting (yes/no). String
greeting_agent_name Indicates if the agent greets with their name (yes/no). 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 customer sentiment about the conversation. It can result in “Very negative”, “Negative”, “Neutral”, “Positive”, and “Very positive”. String
channel Channel to which the connector belongs. It can yield the values “voice”, “chat-whatsapp”, and “chat-sms”. String

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":"",
            "channel":""
        }
    ]
}
				
			

< / >

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.
  • The fields {{filter}} and {{value}} are optional and allow for more convenient information filtering. Therefore, the URL can be as follows: https://wv{{wolkvox_server}}.wolkvox.com/api/v2/speech_analytics.php?api=speech_calls&date_ini={{YYYYmmddHHiiss}}&date_end={{YYYYmmddHHiiss}}

NAME DESCRIPTION TYPE
api Type of report required String
date_ini Initial Date (YYYYmmddHHiiss) String
date_end Final Date (YYYYmmddHHiiss) String
filter Name of the column field or for filtering the search. It can take the values “id_call”, “id_agent”, “cod_act”, and “speech_to_text”. String
value Value to which the filter is to be applied String

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 Indicates if the agent greeted (yes) or not (no). String
slow_to_greet Indicates if there was a delay in greeting (yes/no). String
greeting_agent_name Indicates if the agent greets with their name (yes/no). 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 customer sentiment about the conversation. It can result in “Very negative”, “Negative”, “Neutral”, “Positive”, and “Very positive”. String
channel Channel to which the connector belongs. It can yield the values “voice”, “chat-whatsapp”, and “chat-sms”. String

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":"",
            "channel":""
        }
    ]
}
				
			
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