ESP Integrations

Broadcast integrates with popular email service providers (ESPs) to send emails and receive real-time delivery notifications. This page provides an overview of supported providers and their capabilities.

Supported Providers

Provider SMTP API Webhooks Auto-Setup Suppression Sync
AWS SES
Postmark —
Mailgun —
SendGrid —
Resend — — —
SMTP.com — — —
Inboxroad — —

The easiest way to add an email server is via the Guided Setup wizard. Navigate to Settings → Email Servers, click Add email server, and choose Guided Setup. Select your provider and paste your API key: Broadcast will automatically configure domains, senders, and webhooks for you.

Guided Setup provider picker showing Postmark, AWS SES, SendGrid, and Mailgun

Guided Setup is available for Postmark, AWS SES, SendGrid, and Mailgun.

After a provider is set up, Broadcast continues to monitor the domain’s SPF, DKIM, and DMARC records and alerts you if they change. See Domain DNS Health for details.

Full Documentation

Manual Setup

For providers without guided setup (Resend, SMTP.com, Inboxroad, or custom SMTP), use the Manual Setup option to configure SMTP settings directly. See the provider-specific instructions below.


Why Use ESP Webhooks?

While Broadcast can track opens and clicks natively, ESP webhooks provide additional benefits:

Feature Native Tracking ESP Webhooks
Open tracking
Click tracking
Delivery confirmation—
Bounce detection—
Spam complaints—
Auto-suppression—

Recommendation

We recommend setting up ESP webhooks for all providers. This ensures accurate delivery tracking and automatic handling of bounces and complaints.


Finding Your Webhook URLs

Webhook URLs are shown on each email server’s detail page. Navigate to Settings → Email Servers and click on a server to view its webhook URL.

Each provider has a unique webhook URL that you’ll configure in your ESP’s dashboard.


Mailgun Setup

Use the Guided Setup wizard for the easiest experience:

  1. Navigate to Settings → Email Servers
  2. Click Add email server → Guided Setup
  3. Select Mailgun
  4. Enter your Mailgun API key and select your region (US or EU)
  5. Broadcast will automatically detect your verified domains, configure API delivery, and set up webhooks

Manual Webhook Setup

If you’re using SMTP delivery instead, configure webhooks manually:

  1. Log into your Mailgun account
  2. Navigate to Sending → Webhooks
  3. For each event type, add your Broadcast webhook URL. Copy it from the email server’s page in Broadcast; it names your channel:
   https://your-domain.com/wh/mailgun?broadcast_channel_id=YOUR_CHANNEL_ID

Save the webhook signing key in Broadcast first (see below). Until it is saved, Broadcast rejects every Mailgun event with 401.

  1. Select events to track:
    • Delivered
    • Opened
    • Clicked
    • Bounced (Permanent Failure)
    • Complained
    • Unsubscribed

Webhook Signing Key

For webhook verification:

  1. In Mailgun, find your Webhook Signing Key in the dashboard
  2. In Broadcast, go to your email server’s detail page
  3. Enter the signing key

SendGrid Setup

Use the Guided Setup wizard for the easiest experience:

  1. Navigate to Settings → Email Servers
  2. Click Add email server → Guided Setup
  3. Select SendGrid
  4. Enter your SendGrid API key
  5. Broadcast will automatically configure API delivery, domain authentication, and event webhooks

Manual Webhook Setup

If you’re using SMTP delivery instead, configure webhooks manually:

  1. Log into your SendGrid account
  2. Navigate to Settings → Mail Settings → Event Webhook
  3. Enter your webhook URL with your channel ID:
   https://your-domain.com/wh/sendgrid?broadcast_channel_id=YOUR_CHANNEL_ID
  1. Select events to track:

    • Processed
    • Delivered
    • Opened
    • Clicked
    • Bounced
    • Spam Report
    • Unsubscribe
  2. Enable Signed Event Webhook Requests

  3. Copy the Verification Key

  4. In Broadcast, go to your email server’s detail page

  5. Enter the verification key


Resend Setup

  1. Log into your Resend dashboard
  2. Navigate to Webhooks
  3. Click Add Webhook
  4. Enter your Broadcast webhook URL:
   https://your-domain.com/wh/resend
  1. Select events:

    • email.sent
    • email.delivered
    • email.bounced
    • email.complained
    • email.opened
    • email.clicked
  2. Save your webhook configuration


SMTP.com Setup

Broadcast registers its webhook callbacks with SMTP.com for you through the SMTP.com API, so there is nothing to paste into SMTP.com and no need to contact their support.

  1. Add your SMTP.com email server under Settings → Email Servers, entering your SMTP.com API key and SMTP.com channel as well as the SMTP credentials
  2. Open the email server and click Setup Callbacks
  3. The server’s webhook section shows Callbacks Configured and lists each event SMTP.com will report: deliveries, bounces, complaints, opens, clicks and unsubscribes

The callback URL Broadcast registers carries your channel and a secret token for that channel:

https://your-domain.com/wh/smtp_com?broadcast_channel_id=1&token=...

SMTP.com callbacks have no signature or auth header of their own, so the token in the URL is what proves an event came from your SMTP.com account. Broadcast rejects any callback without the right token, so a bare https://your-domain.com/wh/smtp_com URL no longer works. The full URL for your channel is shown in the email server’s webhook section if you ever need it.

Note

Upgrading from before 2.27.0? Older installs registered the bare URL. The upgrade re-registers existing callbacks with the tokened URL automatically. If one cannot be updated (for example, the API key was revoked), Broadcast records a configuration error in Error Logs naming the server; fix the credentials and click Setup Callbacks again.


Inboxroad Setup

Inboxroad provides API-based sync for bounces and complaints:

  1. In Broadcast, go to Settings → Email Servers
  2. Edit your Inboxroad email server
  3. In Inboxroad API Integration, tick Enable automatic API sync
  4. Enter your Inboxroad API Token
  5. Save the configuration

Manual Sync

To sync bounces and complaints from Inboxroad:

  1. Go to Settings → Email Servers
  2. Find your Inboxroad server
  3. Click Sync Now

Auto-Suppression

When Broadcast receives bounce or complaint webhooks, it automatically:

  1. Deactivates the subscriber: Prevents future email sends
  2. Adds to the channel’s suppression list: Blocks the address on the channel that sent the email (Settings → Global Suppression, Channel tab)

This protects your sender reputation and ensures compliance with anti-spam regulations.


Troubleshooting

Webhooks Not Received

  1. Verify the webhook URL is correct
  2. Check that your Broadcast instance is publicly accessible (HTTPS)
  3. Review your ESP’s webhook logs for delivery failures
  4. Ensure firewalls aren’t blocking incoming webhook requests

Events Not Appearing

  1. Check that the correct events are selected in your ESP
  2. Verify the email server has the correct vendor selected in Broadcast
  3. Look for errors on the email server’s detail page

Authentication Errors

  1. Verify any signing keys or verification tokens are correct
  2. Check that credentials haven’t expired
  3. Regenerate keys if needed and update both sides

Next Steps

Last updated

Was this page helpful?

Thanks for your feedback!

Thanks for letting us know. We'll work on improving this page.