Skip to main content
DELETE

Overview

Permanently remove a phone number from your organization’s Do Not Call list. Once removed, the number can be called again in future campaigns. You can only delete DNC entries that belong to your organization.

Prerequisites

  • An API key for your workspace
  • Valid DNC record ID that belongs to your organization

Request

string
required
Your workspace API key. Create one from the profile menu in the dashboard → API Keys.
string
required
ID of the DNC entry to delete: the _id from Get DNC List.

Response

string
required
Success message confirming the DNC record was deleted.
boolean
required
Indicates whether the operation was successful.
integer
required
HTTP status code (200 for success).

Error Handling

Errors return status: false, with the reason in errorMessage.
  • 400 Bad Request – id isn’t a valid ID.
  • 401 Unauthorized – Missing or invalid API key.
  • 404 Not Found – DNC record not found or you are not authorized to delete it: no entry with this ID exists in your organization.
  • 500 Internal Server Error – Unexpected server error.
This action is permanent. Once a DNC record is deleted, the phone number can be called again in future campaigns. Make sure you have the correct DNC record ID before deleting.