Skip to content

Remove a number from Do-Not-Call

Do-Not-Call
POSThttps://api.dcdial.com/api/type=delete_dnc
Changes dataToken

Removes a phone number from your Do-Not-Call list. Pass the same campaign_id you used when adding it.

Parameters

Send as application/x-www-form-urlencoded.

  • typestringrequired

    Selects the operation. Always delete_dnc for this endpoint.

  • tokenstringrequired

    Your API token from Log in. See Authentication.

  • phone_numberstringrequired

    Phone number to unblock.

    Example 5550100123
  • campaign_idintegeroptional

    Remove the block for this campaign only.

    Example 1024

Notes

Only remove a number when you are sure the person has agreed to be contacted again.

Terminal window
curl https://api.dcdial.com/api/ \
-d type=delete_dnc \
-d token="$DCDIAL_TOKEN" \
-d phone_number=5550100123
Response · 200 OK
{
"response": {
"success": 1,
"error": ""
}
}

Try it

Environment