---
title: "Approve DNC phone"
method: GET
path: "/{sub_domain}/api/dnc/{id}/approve"
tags: ["DNCs"]
---

# Approve DNC phone

`GET /{sub_domain}/api/dnc/{id}/approve`

## Request

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

Move a Do Not Call (DNC) entry to the approved list.

**When to use.** Approve a single number so it is enforced on your DNC list. To approve many at once, use `POST /dnc/mass`.

**Parameters.** `id` (path): the ID of the DNC entry to approve.

**Returns.** HTTP 204 with no content. If the entry is already approved, the call still returns 204. Returns an error if no entry with that ID exists.

## Path parameters

- `id` integer, required: DNC ID.
- `sub_domain` string, required: Dialer Name (subdomain)

## Response `204`

Successful Response

## 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)
