Add Do Not Contact
POST/contacts/:id/dnc/:channel/add
Adds a Do Not Contact entry for the specified channel (email, sms, etc.).
Reasons 1, 2, and 3 block sending. Reason 4 withdraws tracking consent
without unsubscribing the contact or replacing an existing sending block.
With tracking_consent_enabled enabled, this suppresses email open/click
tracking or SMS click tracking for the selected channel. With the setting
disabled, the withdrawal remains stored but tracking is not suppressed by it.
Emails configured to force tracking bypass per-contact tracking consent.
To withdraw email tracking consent, POST {"reason": 4} to
/api/contacts/{id}/dnc/email/add. Replace email with sms for SMS.
JSON and form-encoded request bodies are supported.
Request
Responses
- 200
- 404
DNC added
Entity not found