This FAQ will help you with how delete numbers in the DNC list via API.
(Note: First is you need to add Authorization Token, click here to see complete details.
From the Dashboard, click on API and select DNC from the drop-down.
In the DNC API section, make sure that the Delete DNC tab is selected.
Insert DNC Section shows the information that you need to set up your API.
The Required Fields are needed for the string. API Url string will work even without the Optional Fields.
Please note that you need to contact the support of your API to enter this information to your API system.
This section will also display an Example PHP Usage and an Example JSON Response.
To verify that deleting numbers in the DNC List works via API, click on the Test Request tab.
auth_token = select the generated authentication token.
url = pre-populated with the API Url String.
type = POST.
phone_number = type in the phone number to be removed to the DNC List.
phone_code = 1 for USA, 44 for UK, 61 for Australia.
campaign_id = if the number should be added to the Campaign DNC List, type in the Campaign ID. If the number should be added to the Global DNC List, type 0.
update_lead_status = Yes or No.
lead_status = if update lead status is set to Yes, enter the new status of the lead.
Here is a sample:
The Request Query String and the Example JSON Response is shown below: