---
title: "Update an individual do not contact (dnc) number"
method: PUT
path: "/contacts/dncs/{number}"
tags: ["contacts"]
---

# Update an individual do not contact (dnc) number

`PUT /contacts/dncs/{number}`

Update a Do Not Contact (DNC) contact entry. Can toggle whether the DNC is enabled for calls/texts.

## Path parameters

- `number` string, required

## Request body

- DoNotContact — Represents an opted out contact
  - `number` string — A single DNC number in E.164 format (11-digit). Example: 12132000384
  - `call` boolean — A number on Do-Not-Call list
  - `text` boolean — A number on Do-Not-Text list
  - `inboundCall` boolean — ~
  - `inboundText` boolean — ~
  - `source` string — The name of DNC source (can be the name of DNC list that user uploads to CallFire)
  - `campaignId` integer — An Id of a campaign which was used to send a message to DNC number
  - `created` integer — A time when a given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000 for Sat, 05 Jan 1985 14:03:37 GMT

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/callfire/apis/callfire-api-documentation.md) · [All operations](https://skmtc.dev/callfire/apis/callfire-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/callfire/callfire-api-documentation/revisions/9f6fb501bc03/schema)
