TheDocumentation Index
Fetch the complete documentation index at: https://docs.dncscrub.com/llms.txt
Use this file to discover all available pages before exploring further.
scrub_phone_numbers tool checks phone numbers against federal, state, and your internal DNC lists, returning compliance status and phone metadata.
Parameters
Phone numbers in 10-digit North American format. Supports single or batch requests.
API key. Only required if not provided via the
x-dncscrub-api-key HTTP header.Campaign ID for usage tracking and campaign-specific settings.
Project ID for usage tracking and project-specific settings.
Response
Whether the API call succeeded.
Array of scrub results, one per phone number.
Machine-readable error code (when failed).
Human-readable error description (when failed).
Result Codes
| Code | Meaning | Action |
|---|---|---|
C | Clean | OK to call (subject to time-of-day rules) |
D | Do Not Call | Do not contact this number |
Examples
- Request
- Response
- Clean Number
Usage Notes
- Batch multiple numbers in a single request for better performance
- Results include rich metadata (carrier, timezone, line type) useful for routing decisions
- The
isWirelessflag is critical for TCPA compliance—wireless numbers have additional consent requirements - Use
campaignIdorprojIdto apply campaign-specific DNC settings