Create Opt-Out Subscription
Subscribe to real-time notifications when a contact opts out of data processing. When a contact requests removal, Lusha sends an OptOutWebhookPayload to your endpoint so you can action the removal in your own systems (CRM, outreach tools, etc.).
Endpoint: (POST) https://api.lusha.com/api/subscriptions/opt-out
How it works:
- Create one opt-out subscription per account (scoped to
contactentity type) - Lusha delivers a POST request to your URL whenever a contact opts out
- The payload includes the contact identity, opt-out date, and the specific data points (emails and/or phones) that must be removed
Payload you’ll receive:
{
"contactId": "987654321",
"fullName": "Jane Doe",
"companyName": "Acme Corp",
"jobTitle": "Director of Product",
"linkedinUrl": "https://www.linkedin.com/in/jane-doe",
"contactOptOutDate": "2026-04-22 14:32:11.412",
"contactExposureDate": "2025-08-03 09:15:47",
"datapoints": [
{ "datapointId": "+14155550199", "datapointType": "phone" },
{ "datapointId": "jane.doe@acme.com", "datapointType": "email" }
],
"partnerClientId": "acme-crm-tenant-42"
}
Important: Signature verification applies the same way as standard webhook deliveries. See Security & Verification for details.
Note: Ensure your account has a webhook secret before creating this subscription. See Regenerate Account Secret.
Authorizations
Your Lusha API key. You can find this in your Lusha dashboard under API settings.
Include this key in the api_key header for all requests.
Body
Request body for creating an opt-out webhook subscription
Entity type for opt-out subscriptions. Currently only contact is supported.
contact "contact"
Your webhook endpoint URL (HTTPS required in production)
2048"https://example.com/webhook"
Descriptive name for this subscription
100"Account opt-out webhook"
Response
Opt-out subscription created successfully
Response body returned when an opt-out subscription is created successfully
"6a0ca910b402df368d2aff07"
contact "contact"
"431705"
"https://example.com/webhook"
true
"2026-05-19T18:16:48.360Z"
"2026-05-19T18:16:48.360Z"
"Account opt-out webhook"