---
title: "Get DNC list"
method: GET
path: "/{sub_domain}/api/dnc"
tags: ["DNCs"]
---

# Get DNC list

`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`

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](https://td.commpeak.link/Readme-dialer-api-docs). The response is wrapped as `{ "dnc": [ ... ] }`.

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

## Path parameters

- `sub_domain` string, required: Dialer Name (subdomain)

## Response `200`

Successful Response

- DNCResponse
  - `dnc` DNCItem[], required
    - `id` integer, nullable: DNC ID.
    - `phone` string, nullable: DNC phone number.
    - `lead_id` integer, nullable: Lead ID that the DNC was created from.
    - `campaign_lead_id` integer, nullable: Campaign Lead ID that the DNC was created from, can be null.
    - `approved` integer, nullable: Whether the DNC is approved: 0 = unapproved, 1 = approved.
    - `approved_by_user_id` integer, nullable: ID of the user who approved the DNC.
    - `permanent` integer, nullable: Whether the DNC is permanent: 0 = no, 1 = yes.
    - `first_name` string, nullable: Lead's first name.
    - `last_name` string, nullable: Lead's last name.
    - `username` string, nullable: Username of the user who approved the DNC.
    - `phone_normalized` string, nullable: Lead's phone number normalized.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-dialer-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/revisions/18c5edc07544?raw)
