curl "https://api.60db.ai/agents/do-not-call?q=9876" \
-H "Authorization: Bearer your-api-key"
Agent Campaigns
List Do-Not-Call Numbers
The numbers your workspace must not call. Campaigns skip them
GET
/
agents
/
do-not-call
curl "https://api.60db.ai/agents/do-not-call?q=9876" \
-H "Authorization: Bearer your-api-key"
List the do-not-call numbers of your workspace, newest first. Campaigns skip these numbers when a file is uploaded and again when a call is due.
Request
Headers
Query
Response
200 OK.data is the array. pagination holds total, limit and offset.
{
"success": true,
"data": [
{
"id": "5a0e7c31-9d2b-4e6f-8a1c-3b4d5e6f7a8b",
"phone": "+919876543210",
"reason": "Asked not to be called",
"created_at": "2026-11-10T08:12:00.000Z"
}
],
"pagination": { "total": 1, "limit": 50, "offset": 0 }
}
Errors
| Status | Code | Meaning |
|---|---|---|
| 403 | POLICY_DENY | Your role cannot read campaigns, or the API key lacks the agents scope |
Example
curl "https://api.60db.ai/agents/do-not-call?q=9876" \
-H "Authorization: Bearer your-api-key"