internal_dnc tool manages your organization’s private Do Not Call list. Use it to add numbers when contacts request no further calls, or remove numbers when appropriate.
Parameters
string[]
required
Phone numbers in 10-digit North American format (e.g.,
"8663625478").string
required
Action to perform:
add- Add numbers to Internal DNC listremove- Remove numbers from Internal DNC liststatus- Check if numbers are on the list
string
API key. Only required if not provided via the
x-dncscrub-api-key HTTP header.string
Project ID to scope the Internal DNC list. Useful for multi-client or multi-campaign setups.
Response
boolean
Whether the API call succeeded.
array
Array of results for each phone number.
string
Machine-readable error code (when failed).
string
Human-readable error description (when failed).
Error Codes
Examples
- Add Request
- Add Response
- Remove Request
- Status Request
Usage Notes
- Adding a number that already exists has no effect (idempotent)
- Removing a number that doesn’t exist has no effect
- Use
projIdto maintain separate Internal DNC lists per project or client - Phone numbers must be exactly 10 digits without formatting