doNotContact webhook event fires when a lead makes a clear, explicit request to stop all contact across every channel. Unlike a per-channel opt-out, this signals that the lead has expressed they do not want to be reached by any medium.
This event is triggered only when Apten’s AI determines the lead’s intent is to completely end all communication — not from automated opt-outs, bounces, or single-channel unsubscribes.
When a do-not-contact request is detected, Apten fires this event first, then fires an optOut event for each channel the lead is enrolled in. Those optOut events will include "isDoNotContact": true in their payloads.
Payload
SMS Example
Call Example
Properties
| Property | Type | Description |
|---|---|---|
event | string | The webhook event type (doNotContact). |
data.leadId | string | The unique identifier for the lead. |
data.externalLeadId | string | The CRM lead ID (Salesforce, HubSpot, or Dynamics 365). |
data.phone | string | The phone number of the lead. |
data.email | string | The email address of the lead, if available. |
data.optOutMessage | string | The message text that surfaced the do-not-contact request. Available for SMS and email; null for call interactions. |
timestamp | string | The ISO 8601 timestamp when the do-not-contact status was set. |

