Skip to main content
POST
Add single DNC entry

Overview

Add a single LinkedIn URL to your team’s Do Not Contact (DNC) list. Once added, this contact will be automatically excluded from all current and future campaigns, ensuring compliance with opt-out requests.

Use Cases

  • Opt-Out Requests: Add contacts who have requested to stop receiving messages
  • Compliance Management: Maintain GDPR/CAN-SPAM compliance
  • Manual Exclusions: Exclude specific individuals from campaigns
  • Customer Requests: Honor removal requests from existing customers
  • Integration Workflows: Add DNCs from external systems via API

Key Features

  • Automatic URL Normalization: LinkedIn URLs automatically standardized
  • Duplicate Prevention: Prevents adding the same URL twice
  • Immediate Effect: Contact excluded from all campaigns instantly
  • Cache Invalidation: Automatically updates cache for instant checks
  • Rate Limited: 30 requests per minute for reliable performance
  • Team Isolation: DNC entries only visible to your team

Testing Example

Request Body

Required Fields

URL Format Support

The endpoint accepts various LinkedIn URL formats:
  • https://linkedin.com/in/username
  • https://www.linkedin.com/in/username/
  • linkedin.com/in/username
  • in/username
All formats are automatically normalized to: https://linkedin.com/in/username

Example Request Body

Response Format

Success Response (201 Created)

Error Responses

409 Conflict - URL Already on DNC List

400 Bad Request - Missing URL

400 Bad Request - Invalid URL Format

429 Too Many Requests - Rate Limit Exceeded

401 Unauthorized - Invalid API Key

500 Internal Server Error

URL Normalization

All LinkedIn URLs are automatically normalized before storage:

Normalization Process

  1. Lowercase: Convert to lowercase
  2. Protocol: Add https:// if missing
  3. Remove www: Strip www. subdomain
  4. Trim Trailing Slash: Remove trailing /
  5. Extract Username: Extract username from various formats

Normalization Examples

This ensures no duplicate entries for the same profile.

Rate Limiting

  • Limit: 30 requests per minute per team
  • Window: Rolling 60-second window
  • Shared with: Other DNC write operations
  • Exceeded: Returns 429 status with resetTime timestamp

Rate Limit Best Practices

  1. Implement Backoff: Wait for resetTime before retrying
  2. Batch Operations: Use Bulk Add for multiple URLs
  3. Queue System: Implement a queue for high-volume additions
  4. Error Handling: Gracefully handle 429 responses

Integration Examples

Handle Opt-Out Request

Webhook Integration

CRM Integration

Form Submission Handler

Automated Campaign Monitoring

Best Practices

  1. Validate URLs: Ensure LinkedIn URLs are valid before adding
  2. Handle Duplicates: Gracefully handle 409 responses (URL already exists)
  3. Immediate Action: Add to DNC as soon as opt-out is received
  4. Audit Trail: Log all DNC additions with timestamp and reason
  5. Team Notification: Alert team when contacts are added to DNC
  6. Bulk Operations: Use bulk endpoint for multiple URLs
  7. Error Handling: Implement proper error handling and retries
  8. Compliance: Document the reason for each DNC addition

Compliance Considerations

GDPR Compliance

  • Right to Object: Honor opt-out requests within 24 hours
  • Proof of Consent: Maintain audit logs of all DNC additions
  • Data Retention: Keep DNC list indefinitely or per policy
  • Transparency: Provide clear opt-out mechanisms

CAN-SPAM Compliance

  • Opt-Out Mechanism: Provide clear unsubscribe links
  • Honor Requests: Process opt-outs within 10 business days
  • Permanent: Keep opt-outs permanent (don’t remove from DNC)
  • No Charges: Never charge for processing opt-outs

Automatic Campaign Integration

Once a URL is added to the DNC list:
  1. Active Campaigns: Contact is automatically paused in all active campaigns
  2. Future Campaigns: Contact cannot be added to new campaigns
  3. CSV Imports: DNC entries are skipped during prospect imports
  4. API Checks: All prospect creation endpoints check DNC list
  5. Worker Tasks: Agent tasks are automatically skipped for DNC contacts

Performance Considerations

  • URL Normalization: Automatic, adds ~5ms to request time
  • Duplicate Check: Uses indexed query, typically < 50ms
  • Database Write: Typically < 100ms
  • Cache Invalidation: Immediate, affects team-wide checks
  • Team Isolation: Permissions enforced at database level

Response Fields

Common Use Cases

Real-time Opt-Out Processing

Compliance Dashboard

Next Steps

After adding a single DNC entry:
  1. Verify Addition: Use Check DNC to confirm
  2. View All Entries: Use List DNC to see complete list
  3. Bulk Operations: Use Bulk Add for multiple URLs
  4. Monitor Campaigns: Ensure contact is paused in all active campaigns

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

LinkedIn profile URL to add to DNC list

Example:

"https://linkedin.com/in/johnsmith"

Response

DNC entry created successfully

error
null
data
object
message
string
Example:

"Added to Do Not Contact list"

Last modified on November 18, 2025