---
title: "Mass Approve/Unapprove DNC numbers"
method: POST
path: "/dnc/mass"
tags: ["DNC"]
---

# Mass Approve/Unapprove DNC numbers

`POST /dnc/mass`

Use the Mass Approve/Unapprove DNC numbers API endpoint if you want to approve/unapprove multiple Do Not Call (DNC) entries at once. You should add the following fields to the request body:

#### Request Body

- `create_missing` (boolean): Set to true to create missing DNC entries.
    
- `dnc` (array): An array of objects containing the following parameters for each DNC entry:
    
    - `phone` (string): The phone number for the DNC entry.
        
    - `country_iso` (string): The country ISO code for the phone number.
        
    - `approved` (integer): The approval status for the DNC entry.
        
    - `permanent` (integer): The permanence status for the DNC entry.

## Request body

- object
  - `create_missing` boolean
  - `dnc` unknown[]
    - unknown

## Response `200`

Successful operation

- object
  - `dnc` object[]
    - `approved` string
    - `approved_by_user_id` unknown
    - `campaign_lead_id` unknown
    - `first_name` unknown
    - `id` string
    - `last_name` unknown
    - `lead_id` unknown
    - `lead_phone` unknown
    - `lead_phone2` unknown
    - `permanent` string
    - `phone` string
    - `phone_normalized` unknown
    - `phone_normalized2` unknown
    - `username` unknown

## Other responses

- `404` — Error

---

[API](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1.md) · [All operations](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/commpeak/dialer-api-v2-0-1/versions/eacecf960bb6/schema)
