curl -X DELETE "https://api.60db.ai/agents/do-not-call?phone=%2B919876543210" \
-H "Authorization: Bearer your-api-key"
Agent Campaigns
Remove Do-Not-Call Number
Remove a number from the do-not-call list, by entry id or by phone number
DELETE
/
agents
/
do-not-call
/
{entryId}
curl -X DELETE "https://api.60db.ai/agents/do-not-call?phone=%2B919876543210" \
-H "Authorization: Bearer your-api-key"
Remove a number from the do-not-call list. Use the entry
id in the path, or the phone number in the phone query parameter. The number can be called again after it is removed.
Removing a number does not change recipients that were already skipped. Create a new campaign to call them.
Request
Headers
Path
The entry
id (UUID). Leave out when you send phone. Use DELETE /agents/do-not-call?phone=... insteadQuery
An international number, URL-encoded, for example
%2B919876543210. Used when there is no entryIdResponse
200 OK{
"success": true,
"data": { "removed": true }
}
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | VALIDATION_ERROR | Neither entryId nor phone was sent, or phone is not an international number. field is phone |
| 403 | POLICY_DENY | Your role cannot control campaigns, or the API key lacks the agents scope |
| 404 | ENTRY_NOT_FOUND | entryId is not a valid id |
| 404 | DNC_NOT_FOUND | The entry or number is not on your do-not-call list |
Example
curl -X DELETE "https://api.60db.ai/agents/do-not-call?phone=%2B919876543210" \
-H "Authorization: Bearer your-api-key"