DNCAdd to DNC

Add to DNC

Add one or more email addresses or domains to the Do Not Contact list. Entries that already exist are skipped (not duplicated). Emails are lowercased automatically.

curl -X POST "https://api.sendkit.ai/v1/dnc" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -d '{
  "entries": [
    {
      "email": "unsubscribed@example.com",
      "reason": "manual"
    }
  ]
}'
{
  "success": true,
  "data": {
    "added": 2,
    "skipped": 1
  }
}
POST
/v1/dnc
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
Content-Typestring
Required

The media type of the request body

Options: application/json
entriesarray
Required

List of DNC entries to add

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

Body

application/json
entriesarray
Required

List of DNC entries to add

Responses