Integrations

Delivery webhooks

Where your provider reports deliveries, bounces and complaints back to Galactic.

The endpoint

Each provider posts events to its own endpoint, with your campaign's id in the path. Settings → Email provider shows the exact URL to paste, along with the signing secret field that verifies the events really came from your provider.

POST /api/webhook/resend/<campaign-id>
POST /api/webhook/ses/<campaign-id>
POST /api/webhook/mailgun/<campaign-id>
POST /api/webhook/sendgrid/<campaign-id>

Which events to send

Subscribe to these three at a minimum. Without them you find out about a bounce or a complaint when your domain stops reaching inboxes, which is far too late to act on.

delivered
The provider handed the message to the receiving server. This is what fills the send log.
Example: { "type": "email.delivered", "email_id": "4ef9…" }
bounced
The address rejected it. Galactic adds the address to the do-not-contact list so it is never tried again.
Example: { "type": "email.bounced", "bounce_type": "Permanent" }
complained
Someone pressed Report spam. The same suppression applies, and a rising rate here is the signal to stop sending.
Example: { "type": "email.complained" }