Query Outbound Campaign Details

Query the execution overview and statistics of an outbound campaign.

Request URL

GET {base_url}/{api_path}/outbound_call_center/detail?access_token={access_token}

Request parameters

Parameter Required Type Description
id Yes Integer The unique ID of an outbound campaign.
Note: You can query outbound campaign's ID using the Query Outbound Campaign List interface.

Response parameters

Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.
data Object<Campaign_Detail> The execution overview and statistics of the outbound campaign.
Campaign_Detail
Parameter Type Description
campaign_id Integer The unique ID of the campaign.
name String The name of the campaign.
status String The status of the campaign.
  • wait: The campaign is waiting to start.
  • pause: The campaign is paused.
  • end: The campaign has ended.
  • running: The campaign is running.
start_time Integer The start time of the campaign, in Unix timestamp (seconds).
end_time Integer The end time of the campaign, in Unix timestamp (seconds).
dialer_mode String The dialer mode of the campaign.
  • progressive: The dialer dials contacts one by one as agents become available.
  • power: The dialer dials contacts at the specified dial rate.
  • agentless: The dialer dials contacts without agents, and the calls are handled by the specified destination.
outstanding_calls Integer The number of calls that are currently being dialed.
scheduled_calls Integer The number of calls that are scheduled for callback by agents.
connect_call_count Integer The number of connected calls.
dialed_call_count Integer The number of dialed calls.
abandoned_call_count Integer The number of calls that were abandoned by callers after being routed to the queue.
completed_call_count Integer The number of calls that were dialed by the dialer and routed to the queue.
completed_contact_count Integer The number of contacts whose dialing results are completed.
total_contact_count Integer The total number of contacts in the campaign.

Example

Request example

GET /openapi/v1.0/outbound_call_center/detail?id=14&access_token=xVx9wX2B38gSD0C2o4y9b9bd5QOPz2MK HTTP/1.1
Host: 192.168.5.150:8088

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS",
    "data": {
        "campaign_id": 14,
        "name": "API Test Campaign",
        "status": "wait",
        "start_time": 1794445200,
        "end_time": 1795168800,
        "dialer_mode": "progressive",
        "outstanding_calls": 0,
        "scheduled_calls": 0,
        "connect_call_count": 0,
        "dialed_call_count": 0,
        "abandoned_call_count": 0,
        "completed_call_count": 0,
        "completed_contact_count": 0,
        "total_contact_count": 1
    }
}