curl -X POST https://api.60db.ai/agents/do-not-call \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"phone": "+919876543210", "reason": "Asked not to be called"}'
Agent Campaigns
Add Do-Not-Call Number
Add a number to the do-not-call list. Campaigns skip it from then on
POST
/
agents
/
do-not-call
curl -X POST https://api.60db.ai/agents/do-not-call \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"phone": "+919876543210", "reason": "Asked not to be called"}'
Add a number to the do-not-call list. Campaigns already running skip the number the next time a call is due. Adding a number that is already listed returns the existing entry, with its first
reason.
Request
Headers
Body
An international number, for example
+919876543210. Numbers without + or 00 are refused. 5 to 32 charactersResponse
201 Created with the entry.{
"success": true,
"data": {
"id": "5a0e7c31-9d2b-4e6f-8a1c-3b4d5e6f7a8b",
"phone": "+919876543210",
"reason": "Asked not to be called",
"created_at": "2026-11-12T10:00:00.000Z"
}
}
Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | VALIDATION_ERROR | phone is missing, too short or too long, or is not an international number. field is phone |
| 403 | POLICY_DENY | Your role cannot control campaigns, or the API key lacks the agents scope |
Example
curl -X POST https://api.60db.ai/agents/do-not-call \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"phone": "+919876543210", "reason": "Asked not to be called"}'