Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.
Go email-relayemail-routinghttp-to-smtpmail-deliverymailchimp-alternativemailgun-alternativemailsendermailservermailtemplatemailtestpostmark-alternativesend-emailsendgrid-alternativesendmailtransactional-emailtransactional-outbox
fix(routes): move bounce webhook under /api/v1 to stop shadowing SPA BREAKING CHANGE: the bounce webhook URL is now /api/v1/webhooks/bounce not /webhooks/bounce
Jonas Kaninda446b65a92e97
diff --git a/internal/routes/tracking_routes.go b/internal/routes/tracking_routes.goindex 39e8964..e3c0bf6 100644--- a/internal/routes/tracking_routes.go+++ b/internal/routes/tracking_routes.go@@ -88,7 +88,7 @@ func (r *Router) trackingRoutes() []okapi.RouteDefinition {// bounceWebhookRoutes returns the bounce webhook route (authenticated via API key).func (r *Router) bounceWebhookRoutes() []okapi.RouteDefinition {- bounceGroup := r.app.Group("/webhooks/bounce", r.mw.apiKey).WithTagInfo(okapi.GroupTag{+ bounceGroup := r.v1.Group("/webhooks/bounce", r.mw.apiKey).WithTagInfo(okapi.GroupTag{Name: "Webhooks",Description: "Inbound webhook endpoints that receive bounce and complaint notifications from upstream mail providers. Authenticated with an API key.",}).WithSecurity([]map[string][]string{{"ApiKeyAuth": {}}})