Background
Our Premium App manages outbound dialing lists for enterprise clients using the Platform API. We handle list ingestion and campaign configuration programmatically.
Issue
When attempting to create a campaign via POST /api/v2/outbound/campaigns, the system rejects lists containing numbers flagged in the DNC registry, returning a 400 Bad Request with error code DNC_VIOLATION. We need to programmatically flag specific numbers as “safe” for this campaign without manual UI intervention.
Troubleshooting
- Verified the numbers are correctly formatted.
- Confirmed the API user has
outbound:campaign:writepermissions. - Checked
GET /api/v2/outbound/dncendpoints but found no clear mechanism for bulk exception handling via API.