Skip to content

Conversation

@wozniak-slawomir
Copy link

Hi everyone, hi @knadh. I decided to initiate creating this very basic feature, let me know what you think. I tried to follow contributing guidelines.

Add outgoing webhook for subscription confirmation

This PR adds support for outgoing webhooks that fire when a subscriber
confirms their subscription (both single and double opt-in).

Features

  • New internal/webhooks package for HTTP webhook delivery
  • Configurable URL, timeout, and retry settings
  • Fires on subscription confirmation (not on initial signup for double opt-in)
  • Settings UI in admin panel under Settings → Webhooks
  • Database migration for existing installations

Payload Example

{
  "event": "subscription.confirmed",
  "timestamp": "2024-12-23T00:00:00Z",
  "data": {
    "subscriber": { "id": 1, "email": "...", ... },
    "lists": [{ "id": 1, "name": "Newsletter" }]
  }
}

What needs to be done still?

  • Translations
  • Tests?
  • other stuff

Please let me know.

@knadh
Copy link
Owner

knadh commented Dec 29, 2025

Thanks for the PR @wozniak-slawomir. Coincidentally, there's another PR that seems to have a more generic, universal webhook implementation. I haven't yet had the chance to review it properly though: #2839

@wozniak-slawomir
Copy link
Author

@knadh that's funny it came out like that! Great to know though that someone initiated more generic approach.

@knadh knadh closed this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants