fbpx

< / >

APIs Customer

1. Agent detail report (agents_detail) En

URL:

https://wv{{wolkvox_server}}.wolkvox.com/api/v2/customer.php?api=agents_detail&date_ini={{YYYYmmddHHiiss}}&date_end={{YYYYmmddHHiiss}}

Description:

This report delivers a detailed summary of the calls attended by an agent in the operation, allowing to consult the id and type of call, name of the agent, skill and associated campaign; It also presents the destination and the data associated with the customer.

Benefit:

Assess customer satisfaction taking into account the particular performance of the agents that are part of the operation, since by knowing the customer‘s voice you can act in a timely manner.

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 operation server.
  • The wolkvoxtoken header must be used to make use of 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.
  • In terms of time, to follow up your operation you can make a consumption every 5 minutes of the information.

NAMEDESCRIPTIONTYPE
apiAPI requiredString
date_iniInitial Date (YYYYmmddHHiiss)String
date_endFinal Date(YYYYmmddHHiiss)String

NAMEDESCRIPTIONTYPE
operationIndicates the name of the operationString
conn_idCorresponds to the call identification numberString
type_callIt is the type of call (inbound, outbound and internal)String
dateIndicates the date in the format yearmonthdayHourString
agent_idRefers to the numeric identification of each of the Wolkvox Agent usersString
agent_nameName of the agentString
skillIt is the numeric identification of the skillString
durationIndicates the duration of the interaction in secondsString
cod_actIt is the ID of the typification or coding code used by the agent for a general taskString
cod_act_2It is the ID of the typification or coding code used by the agent for a specific taskString
telephoneIndicates the telephone number to which the call was madeString
hung_upIndicates who ended the interactionString
commentText type comment of the interactionString
screecboxIndicates if the interaction is being monitoredString
agent_statusDetails the agent‘s statusString
customer_idCorresponds to the customer identification numberString
destinyIndicates the destination of the callString
timeIndicates the total elapsed timeString
campaign_idRefers to the numerical identification of each of the users of the campaignString

Possible response codes
				
					$curl = curl_init();
 
curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/customer.php?api=agents_detail&date_ini={{YYYYmmddHHiiss}}&date_end={{YYYYmmddHHiiss}}',
  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": [
        {
            "operation": "",
            "conn_id": "",
            "type_call": "",
            "date": "",
            "agent_id": "",
            "agent_name": "",
            "skill": "",
            "duration": "",
            "cod_act": "",
            "cod_act_2": "",
            "telephone": "",
            "hung_up": "",
            "comment": "",
            "screecbox": "",
            "agent_status": "",
            "customer_id": "",
            "destiny": "",
            "time": "",
            "campaign_id": ""
        }
    ]
}

				
			
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