DNCs

Get DNC list

Retrieve the Do Not Call (DNC) entries in your account, so you can review which numbers are blocked from dialing.

When to use. List and audit your DNC entries. To look up a single entry by ID, use GET /dnc/{id}. To search by number, use GET /dnc/phone/{phone}/{country_iso}.

Filtering and shape. Filter, order, limit and select fields by any response field. See Core API Concepts. The response is wrapped as { "dnc": [ ... ] }.

Example. GET /api/dnc/limit/50;0

get/{sub_domain}/api/dnc

Request

  • Base URL
    https://api.commpeak.com/dialer
  • URL
    https://api.commpeak.com/dialer/{sub_domain}/api/dnc
  • Auth
    API key in header Authorization

Path parameters

sub_domainstring required

Dialer Name (subdomain)

Response

Successful Response

Example response

{
  "dnc": [
    {
      "approved": 255,
      "approved_by_user_id": 42751242,
      "campaign_lead_id": 17957443,
      "id": 86591947,
      "lead_id": 0,
      "permanent": 0,
      "phone": "397606698848"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.