curl -X POST https://api.example.com/v1/dnc/add \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone_number": "+15551234567", "organization_id": "{org_id}"}'
{
"success": true,
"message": "Phone number added to DNC list",
"powered_by": "Teli"
}
Add phone to Do Not Call list
curl -X POST https://api.example.com/v1/dnc/add \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone_number": "+15551234567", "organization_id": "{org_id}"}'
{
"success": true,
"message": "Phone number added to DNC list",
"powered_by": "Teli"
}
curl -X POST https://api.example.com/v1/dnc/add \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone_number": "+15551234567", "organization_id": "{org_id}"}'
{
"success": true,
"message": "Phone number added to DNC list",
"powered_by": "Teli"
}