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

< / >

APIs Reports Manager

11. Calls and service level per interaction

URL:


https://wv{{wolkvox_server}}.wolkvox.com/api/v2/reports_manager.php?api=skill_11&skill_id={{skill_id}}&date_ini={{YYYYmmddHHiiss}}&date_end={{YYYYmmddHHiiss}}

Description:

This report indicates the quantity of managed interactions and the level of service of the attention in channels such as email, Twitter, Instagram, WhatsApp, Facebook, Telegram, among others, taking into account the % of abandonment, ASA, and ATA.

Benefit:

Identifying the level of service is important for operations because this indicator can be, in addition to an objective, a real performance measurement. This report allows evaluating the level of service of the management of interactions through social networks and instant messaging applications.

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 wolkvox-token header should be used to use the authorization token.
  • Note 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 track your operation you can make a consumption every 5 minutes of the information.
  • This API can receive the parameter skill_id=all.
  • Limit of records that can be downloaded per consumption: 60,000 records.
  • Limit of records that can be uploaded per consumption: 10,000 records.
  • Limit of days queried in dates: 31 days.
  • Limit of result weight: 256 MB.
  • API consumption time limit: 60 seconds.
  • Concurrent consumption limit of a token: 2 simultaneous requests.
  • Daily limit of tokens: Number of licenses multiplied by 1000 daily tokens.

Request Parameters:

NAMEDESCRIPTIONTYPE
apiType of report requiredString
skill_idNumeric Identification of the SkillString
date_iniInitial Date (YYYYmmddHHiiss)String
date_endFinal Date (YYYYmmddHHiiss)String

Response Parameters:

NAMEDESCRIPTIONTYPE
type_interactionType of channel through which the interaction took place. This column can have the following values: chat-configurationbox (internal chat), chat-email, chat-facebook (interaction from Messenger chat), chat-instagram (Instagram chat), chat-transferSkill (chat transferred from another skill), chat-web, chat-whatsapp, chat-telegram, chat-line (chat from Line messaging service), inbound (incoming call), internalcall_que (internal call from a queue), omni-email (email interaction), omni-facebook_page (interaction on a Facebook page post), omni-instagram (interaction on an Instagram page post), omni-twitter (interaction on a Twitter post), and out_pre (outbound call in predictive campaign).String
inbound_callsIt is the total of calls that enter the operationString
answer_callsIt is the total of inbound calls attended by the agentString
abandon_callsIt is the total of inbound calls hung up by…String
Possible response codes
				
					$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://wv{{wolkvox_server}}.wolkvox.com/api/v2/reports_manager.php?api=skill_11&skill_id={{skill_id}}&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: {{wolkvox_token}}'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
				
			

RESPONSE

				
					{
    "code": 200,
    "error": null,
    "msg": "1 records were found",
    "data": [
        {
            "type_interaction": "",
            "inbound_calls": "",
            "answer_calls": "",
            "abandon_calls": "",
            "service_level_10seg": "",
            "service_level_20seg": "",
            "service_level_30seg": "",
            "abandon": "",
            "asa": "",
            "ata": ""
        }
    ]
} 
				
			
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