Skip to main content

Export Pause Agents Report

API: exportPauseReport

Description

This endpoint allows you to retrieve detailed call records of agents, providing comprehensive information such as user details, call times, dispositions, phone numbers, call types, and more. You can specify the agents and the date range to include in the report. This API is ideal for generating detailed call logs, monitoring agent activity, and analyzing call performance across different campaigns and portfolios.

🔗 URL

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

Note: Replace DOMAIN with the specific domain you want to query.

📝 Required Parameters

ParameterValueDescription
goActionagent_cdrAction to perform
goUserMyUserAPI authorized user.
goPassMyPassAuthorized user's password.
responsetypejson/xmlFormat of the response (json recommended).
fromDateYYYY-MM-DDThe start date for the report.
toDateYYYY-MM-DDThe end date for the report.

Optional Parameters

ParameterValueDescription
user['example.user1', 'example.user2']A list of specific users to include in the report.

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

Request Examples:

GET:

curl -X GET "https://DOMAIN.croco-dial.net/goAPIv2/goReports/goAPI.php?goAction=exportPauseReport&goUser=MyUser&goPass=MyPass&responsetype=json&fromDate=2025-05-25&toDate=2025-05-27"

POST (Form Data)

If you prefer to send the data as form parameters:

curl -X POST "https://DOMAIN.croco-dial.net/goAPIv2/goReports/goAPI.php" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "goAction=exportPauseReport" \
  --data-urlencode "goUser=MyUser" \
  --data-urlencode "goPass=MyPass" \
  --data-urlencode "responsetype=json" \
  --data-urlencode "user[]=Example.User1" \
  --data-urlencode "user[]=Example.User2" \
  --data-urlencode "fromDate=2025-05-13" \
  --data-urlencode "toDate=2025-05-13"

  Example Response

{
    "result": "success",
    "data": {
        "headers": [
           ...
        ],
        "rows": [
            {
                "user": "Example.User1",
                "logged_days": 1,
                "pause_sec": 6571,
                "wait_sec": 16789,
                "talk_sec": 973,
                "wp_sec": 3314,
                "dispo_sec": 1899,
                "dead_sec": 157,
                "manual_talk": 6757,
                "pause": 58,
                "dialne": 643,
                "manual": 1001,
                "priv": 2232,
                "virtua": 2460,
                "data": 0,
                "meetin": 0,
                "train": 0,
                "wc": 0,
                "lunch": 0,
                "lagged": 0,
                "login": 0,
                "andial": 0,
                "billable_time": 29879,
                "no_billable_time": 2290,
                "total_time": 32169
            },
            {
                "user": "Example.User2",
                "logged_days": 1,
                "pause_sec": 9567,
                "wait_sec": 12565,
                "talk_sec": 4679,
                "wp_sec": 0,
                "dispo_sec": 484,
                "dead_sec": 14,
                "manual_talk": 1365,
                "pause": 956,
                "dialne": 49,
                "login": 11,
                "lunch": 1870,
                "manual": 37,
                "priv": 1387,
                "virtua": 1753,
                "wc": 635,
                "data": 0,
                "meetin": 0,
                "train": 0,
                "lagged": 0,
                "andial": 0,
                "billable_time": 20883,
                "no_billable_time": 4859,
                "total_time": 25742
            }
        ]
    }
}

📌 Response Fields

Field NameDescription
userUsername of the agent.
logged_daysNumber of days the agent has logged in.
dispo_secSeconds spent in after-call disposition (aftercall).
wait_secSeconds spent available, waiting for calls (available).
talk_secSeconds spent talking on calls.
manual_talkSeconds spent talking on manually dialed calls.
manualTime spent in manual dial mode (excluding talk time).
dataTime spent handling data-related tasks.
virtuaTime categorized as "Virtua" (custom category).
billable_timeTotal time that is considered billable.
lunchTime spent on lunch breaks.
wcTime marked for bathroom breaks.
privTime spent on personal/private breaks.
trainTime spent in training sessions.
meetinTime spent in meetings.
pauseTime paused without a specific reason.
laggedTime marked as lagged (connectivity/system delays).
loginTime spent during login stage.
no_billable_timeTotal non-billable time.
total_timeTotal login session time (billable + non-billable).