Do not call
A number on your do-not-call list is never called by a call, a campaign or the API. People who say "stop calling" on a call are added automatically.
POST /dnc
Add a number. Needs a full-access key.
Request body
phonetext, required | The number to protect. |
|---|
Request
curl -X POST https://navaprastha.in/api/v1/dnc \
-H "Authorization: Bearer $NAVAPRASTHA_KEY" \
-H "Content-Type: application/json" \
-d '{"phone":"98480 12345"}'Response
{
"data": {
"phone": "+919848012345"
}
}DELETE /dnc/{phone}
Take a number off the list. Needs a full-access key.
Request
curl -X DELETE https://navaprastha.in/api/v1/dnc/%2B919848012345 \
-H "Authorization: Bearer $NAVAPRASTHA_KEY"Response
{
"data": {
"ok": true
}
}Last updated 13 November 2026. Found something wrong on this page? Email bodavulasiddardha@navaprastha.in and we will correct it.