Skip to main content

agent_summary_stats

Description

This endpoint retrieves a summary of agent activity and performance statistics over the last day. It is useful for supervisors and managers to monitor agent productivity, call handling metrics, and time distribution across various call and pause states. This returns detailed data per agent, including call counts (manual, inbound, dialer), time spent in login, pause, talk, and break statuses, as well as call outcomes and user profile information.

URL - Method POST

https://domain.croco-dial.net/goAPIv2/goReports/goAPI.php

Required Parameters

ParameterValueDescription
goActionagent_summary_statsAction to perform
goUserMyUserAPI authorized user.
goPassMyPassAuthorized user's password.
responsetypejson/xmlFormat of the response (json recommended).

Note: This endpoint uses body parameters for authentication instead of tokens or headers.

Example Request (curl)

curl -X POST https://domain.croco-dial.net/goAPIv2/goReports/goAPI.php \
  -d "goAction=agent_summary_stats" \
  -d "goUser=MyUser" \
  -d "goPass=MyPass" \
  -d "responsetype=json"

  Example Response (200 OK)

{
  "result": "success",
  "data": {
    "dates": "'2025-05-06' AND '2025-05-06 23:59:59'",
    "headers": [...],
    "rows": [
            {
                "USER": "user.example",
                "calls_handled": "8",
                "manual_calls": "0",
                "inbound_calls": "8",
                "dialer_calls": "0",
                "xfer_out": "0",
                "xfer_in": "0",
                "voicemail": "0",
                "denied": "0",
                "noa": "0",
                "sales": "0",
                "WIT": "0",
                "login_time": "18455",
                "pause": "8",
                "break": "853",
                "talk": "1847",
                "most_dispo": null,
                "portfolio": "AAA",
                "profile": "CUSTSERVICE"
            },
            {
                "USER": "user.example2",
                "calls_handled": "71",
                "manual_calls": "68",
                "inbound_calls": "3",
                "dialer_calls": "68",
                "xfer_out": "0",
                "xfer_in": "0",
                "voicemail": "0",
                "denied": "0",
                "noa": "0",
                "sales": "0",
                "WIT": "0",
                "login_time": "18709",
                "pause": "298",
                "break": "1877",
                "talk": "1640",
                "most_dispo": null,
                "portfolio": "BBB",
                "profile": "COLLECTIONS"
            },
        ...
      ]
  }
}


Data Fields per Agent

FieldDescription
USERAgent username
calls_handledTotal number of calls handled
manual_callsOutbound manual calls
inbound_callsCalls received from inbound queues
dialer_callsCalls initiated by the dialer
xfer_outCalls transferred out by the agent
xfer_inCalls transferred to the agent
voicemailVoicemails left or received
deniedCalls denied or blocked
noaNot answered (No Answer)
salesCalls marked as sales
WITCalls marked with “WIT” disposition
login_timeTotal login time (in seconds)
pauseTotal pause time (in seconds)
breakTotal break time (in seconds)
talkTotal talk time (in seconds)
most_dispoMost frequent call disposition
portfolioAssociated portfolio name
profileAgent's role or function profile