List do-not-call numbers
The 500 most recently changed leads marked do-not-call, newest first. The list stops at 500 entries; `hasMore` is true when older entries were left out. The dialer never calls these numbers.
The 500 most recently changed leads marked do-not-call, newest first. The list stops at 500 entries; hasMore is true when older entries were left out. The dialer never calls these numbers.
X-API-Key<token>Create in the console: Settings → API & webhooks.
OK
application/json- response
The workspace's do-not-call list: the 500 most recently changed entries.
entries*array<>Leads marked do-not-call, newest change first.
hasMore?HasmoreTrue when more than 500 leads are marked do-not-call and older entries were left out.
falsesuccess?SuccessAlways true on a 2xx response.
truetotal?|Number of entries in this response (at most 500).
[key: string]?anycurl -X GET 'https://api.callmitra.ai/api/v1/leads/dnc'{ "entries": [ { "createdAt": "2026-11-01T09:30:00Z", "dncOptOut": true, "dncReason": "Asked not to be called", "dncUpdatedAt": "2026-11-15T10:00:00Z", "id": "5d2f8a1e-3b4c-4d6e-9f0a-1b2c3d4e5f60", "name": "Asha Rao", "phone": "+919876543210", "status": "new" } ], "hasMore": false, "success": true, "total": 1}Add numbers to do-not-call POST
Marks existing leads with these numbers as do-not-call and creates entries for new numbers. Numbers that are not Indian mobiles are skipped; if none is valid the request fails with `dnc_no_valid_numbers`.
Remove a number from do-not-call DELETE
Clears the do-not-call flag on the lead so campaigns may call it again.