# Email Marketing API You Host Yourself: REST, Webhooks and MCP

> Broadcast is a self-hosted email marketing platform with a developer-friendly REST API. Manage subscribers, trigger campaigns and automations from your own app, and own the whole stack: one-time license, any ESP.

Source: https://sendbroadcast.net/email-marketing-api

1. [Home](https://sendbroadcast.net/)
2. /
3. Email marketing API

Self-hosted, one-time license

# A self-hosted email marketing API you own

Broadcast is a full email marketing platform with a clean REST API: manage subscribers, tags, and segments, trigger automations, and send campaigns straight from your application. The difference: it runs on _your_ server for a one-time license, sends through any ESP, and never charges per contact.

[Buy Broadcast for $250](https://sendbroadcast.net/#pricing) [Try the live sandbox](https://demo.sendbroadcast.net)

The short answer

An email marketing API lets your application manage subscribers and send campaigns or automations programmatically, instead of clicking around a dashboard. Most options (Mailchimp, ActiveCampaign, Klaviyo, SendGrid Marketing) are hosted SaaS that price by contact and store your list on their servers. **Broadcast** is the self-hosted alternative: a one-time-purchase ($250) platform with a REST API that runs on your own infrastructure, sends through Amazon SES, Postmark, Mailgun, or any SMTP, and supports unlimited subscribers with no per-contact fees.

add a subscriber & trigger a sequence

```
curl -X POST https://mail.yourdomain.com/api/v1/subscribers \
  -H "Authorization: Bearer $BROADCAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "dev@example.com",
    "tags": ["trial", "from-app"],
    "fields": { "plan": "pro" }
  }'

# → 201 Created: subscriber added,
#   tagged, and entered into your
#   "trial onboarding" automation.
```

**Straight answer:** if all you need is a transactional sending API for receipts and password resets, use Amazon SES, Postmark, or Mailgun directly. You don't need a marketing platform. Broadcast's API is for the marketing layer: subscriber state, segments, campaigns, and automations driven from your code. You bring the ESP for delivery; Broadcast gives you the programmable platform on top, and you host and own all of it.

## What you can drive from the API

Wire your product events straight into your email program

### Manage subscribers

Create, update, tag, and segment subscribers with custom fields, keeping your list in sync with your app's source of truth.

### Trigger automations

Fire onboarding, trial, and lifecycle sequences from product events instead of guessing in a dashboard.

### Send campaigns

Create and send broadcasts programmatically, with templates and merge fields rendered server-side.

### Webhooks back to you

Receive opens, clicks, bounces, and unsubscribes as webhooks so your app reacts in real time.

### Bring your own ESP

Delivery goes through SES, Postmark, Mailgun, or any SMTP, so you can swap providers without touching your integration.

### Own the data

Everything runs on your server. No per-contact API pricing, no third party holding your subscriber list.

Building Broadcast into a product? See the [developers use-case](https://sendbroadcast.net/use-cases/developers) and the [documentation](https://sendbroadcast.net/docs).

## Self-hosted API vs SaaS marketing APIs

| Feature | Broadcast API | SaaS marketing APIs |
| --- | --- | --- |
| Where it runs | Your server | Vendor cloud |
| Pricing | $250 one-time | Monthly, per contact |
| Subscriber limits | Unlimited | Tiered |
| Sending provider | Any ESP / SMTP | Locked to vendor |
| Subscriber data | Your database | Vendor-held |
| Rate limits | Your infrastructure | Plan-dependent |
| Setup & maintenance | You self-host | Fully managed |

A hosted API is less to operate. A self-hosted API is yours to keep: no per-contact metering, no vendor holding your list, and a sending provider you choose.

## Frequently Asked Questions

Yes. Broadcast ships a RESTful API for managing subscribers, tags, segments, campaigns, and automations, plus webhooks for engagement events. Because you self-host, you call it on your own domain with your own API keys.

No. Broadcast is a marketing platform, so the API is about lists, campaigns, and automations. For raw transactional sending (receipts, resets), call your ESP (SES, Postmark, Mailgun) directly. Broadcast uses that same ESP to deliver your marketing mail.

Amazon SES, Postmark, Mailgun, SendGrid, or any SMTP relay. Delivery is decoupled from the API, so you can switch providers without changing your integration code. See [supported providers](https://sendbroadcast.net/email-providers).

No artificial caps. Because Broadcast runs on your infrastructure, throughput is bounded by your server and your ESP's sending limits, not by a pricing tier. Subscribers are unlimited under the one-time license.

## An email marketing platform you can program, and own

Self-hosted, REST API, any ESP, one-time license.

[Try the live sandbox](https://demo.sendbroadcast.net) [Buy Broadcast for $250](https://sendbroadcast.net/#pricing)

### Related

[Broadcast for Developers Self-host, API, full control](https://sendbroadcast.net/use-cases/developers) [Supported Email Providers SES, Postmark, Mailgun, SMTP](https://sendbroadcast.net/email-providers) [Amazon SES Alternative The marketing layer for SES](https://sendbroadcast.net/compare/amazon-ses-alternative)
