Do not call
Add do-not-call numbers
POST
Adds up to 5,000 numbers. Numbers already on the list are unchanged. Pending contacts with these numbers are skipped.
Requires the calls:write scope.
apiKeyheader
X-API-Key<token>Your API key, from Settings → API access in the dashboard.
application/json- body
phone_numbers*array<string>Any common format: +919876543210, +91 98765 43210, 919876543210 or 9876543210. A number without a country code is taken as Indian (+91).
Items
1 <= items <= 5000reason?stringLength
length <= 500Added.
application/json- response
added?integeralready_listed?integerinvalid?array<string>Entries that are not valid phone numbers. These entries were not added.
curl -X POST "https://example.com/do-not-call" \ -H "Content-Type: application/json" \ -d '{ "phone_numbers": [ "+919876543210", "98765 43211" ], "reason": "Asked by email" }'{ "added": 2, "already_listed": 0, "invalid": []}