logo
DNCAdd to DNC
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" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "entries": [
    {
      "email": "unsubscribed@example.com",
      "reason": "manual"
    }
  ]
}'
{
  "success": true,
  "data": {
    "added": 2,
    "skipped": 1
  }
}
POST
/v1/dnc
POST
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_...)
Bearer Token
Bearer Tokenstring
Required

API key as Bearer token

API key as Bearer token
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_...)

header
Authorizationstring
Required

Bearer token. API key as Bearer token

Body

application/json
entriesarray
Required

List of DNC entries to add

Responses