Instantly connect opt-out events to your systems and automate your compliance workflow.
When a user unsubscribes, you need to update your records and ensure preferences are respected everywhere. With NotifiedBy’s opt-out webhook, your app is notified in real time, enabling automated compliance and clean workflows:
Real-time sync to your app.
Receive an instant webhook POST as soon as a user clicks unsubscribe—no polling or email parsing required.
Automate user suppression across platforms.
Instantly update your user database or suppression list—stop sending to that recipient across your stack.
Custom workflow triggers.
Tie unsubscribes to ticketing, analytics, compliance tasks, or 3rd party integrations—no manual handoffs.
Clear, actionable payloads.
Receive structured JSON with the opted-out email and timestamp, ready for immediate processing.
When a recipient unsubscribes, your app receives a POST instantly—enable automation and company-wide compliance.
How it works
Configure your webhook endpoint in NotifiedBy’s dashboard.
Whenever a recipient unsubscribes, NotifiedBy sends a JSON POST to your chosen URL.
Your system updates records or launches workflows automatically—
ensuring users never receive unwanted mail across your stack.
# Sample JSON delivered to your webhook endpoint:
{
"event": "unsubscribed",
"email": "user@example.com",
"timestamp": "2024-07-02T18:04:00Z"
}
# Example Django/Python view to handle webhook:
from django.views.decorators.csrf import csrf_exempt
from django.http import JsonResponse
import json
@csrf_exempt
def notifiedby_unsub_webhook(request):
data = json.loads(request.body)
if data.get("event") == "unsubscribed":
mark_user_as_unsubscribed(data["email"])
return JsonResponse({"received": True})
Works with any web framework or cloud platform—just provide your endpoint URL.
Frequently asked
Can I trigger actions in other systems? Absolutely! Webhooks are perfect for Zapier, Slack, ticketing systems, internal tools, or custom scripts.
How fast is the notification? Notifications are sent in real time, as soon as the user unsubscribes—no delays.
What happens if my webhook endpoint is down? We auto-retry for a period, and you can also see unsubscribes anytime in your dashboard for manual reconciliation.
What data do you send? A clean JSON payload with event type, email address, and timestamp—no noise, easy to parse.