You can now add leads into the DNC in real-time by using the following API method call URL:
https://cloud.qubicles.io/agent/api.php?function=AddToDNC&phone_number=[enter phone here]&user=[enter valid mgr/admin ID here]&campaign_dnc_check=YES&dnc_check=YES
Here's an overview of the parameters:
function=AddToDNC: tells the API which method to call)
phone_number: number to add to DNC
user: ID of an admin or mgr account used to authenticate
dnc_check=YES|NO: set to YES if you'd like to add to the master DNC
campaign_dnc_check=YES|NO: set to YES if you'd like to add the number to the campaign DNC. Please note that if campaign_dnc_check=YES, then you must pass the campaign_id also.
campaign_id: the ID of the campaign to associate the phone number within the DNC. This can be found by going to Campaigns and hovering over the name of the campaign.