Skip to main content

Outbound Call Detail Records

API: outbound_cdr

Description

Fetch detailed records of outbound calls made through the last 24 hours. Results include per-call information like timestamp, caller, agent, disposition, campaign, and wait time. Also includes a summary of total and handled calls by campaign.

🔗 URL

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

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

📝 Required Parameters

ParameterValueDescription
goActionoutbound_cdrAction 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.

Request Examples:

GET:

curl -X GET "https://DOMAIN.croco-dial.net/goAPIv2/goReports/goAPI.php?goAction=outbound_cdr&goUser=MyUser&goPass=MyPass&responsetype=json"

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=outbound_cdr" \
  --data-urlencode "goUser=MyUSer" \
  --data-urlencode "goPass=MyPass" \
  --data-urlencode "responsetype=json"

  Example Response

{
    "result": "success",
    "data": {
        "rows": [
            {
                "call_date": "2025-05-02 06:58:53",
                "src": "8888888888",
                "dst": "3333333333",
                "agent": "Agent.Example",
                "campaign": "CAMPAIGN-1",
                "call_type": "Dialer",
                "disposition": "Voicemail",
                "carrier_disposition": "Answer",
                "term_reason": "AGENT",
                "queue_time": "0",
                "portfolio": "AAA",
                "vendor_lead_code": "11111111-22222222...",
                "lead_id": "11111111",
                "list_id": "222222222222222",
                "entry_date": "2025-05-02 06:55:08"
            },
            {
                "call_date": "2025-05-02 06:58:54",
                "src": "2222222222",
                "dst": "4444444444",
                "agent": "Agent.Example",
                "campaign": "CAMPAIGN-2",
                "call_type": "Dialer",
                "disposition": "Voicemail",
                "carrier_disposition": "Answer",
                "term_reason": "AGENT",
                "queue_time": "37",
                "portfolio": "BBB",
                "vendor_lead_code": "22222222-33333333...",
                "lead_id": "222222222",
                "list_id": "33333333333333",
                "entry_date": "2025-05-02 06:55:08"
            },
          ...
       ],
        "headers": [
            {
                "title": "Call Date",
                "field": "call_date",
                "formatter": "html"
            },
            {
                "title": "Source",
                "field": "src",
                "formatter": "html"
            },
          ...
        ],
        "summary_headers": [
            {
                "title": "Campaign",
                "field": "campaign_name"
            },
            {
                "title": "Total Leads",
                "field": "total_leads"
            },
          ...
        ],
        "summary_rows": [
            {
                "campaign_name": "CAMPAIGN-1",
                "total_leads": 296,
                "dialable": 296,
                "pending": 0,
                "total_calls": 651,
                "dialer": 526,
                "dialed": 651,
                "manual_calls": 125,
                "handled_calls": 285,
                "total_removed": 0,
                "removed": 127,
                "remove_all_period": 127
            },
            {
                "campaign_name": "CAMPAIGN-2",
                "total_leads": 3031,
                "dialable": 3031,
                "pending": 2018,
                "total_calls": 1013,
                "dialer": 1010,
                "dialed": 1013,
                "manual_calls": 3,
                "handled_calls": 661,
                "total_removed": 0,
                "removed": 11,
                "remove_all_period": 11
            },
          ...
        ]
    }
}