Beehiiv
Newsletter platform with subscriber management, post publishing, automations, and referral programs.
Beehiiv
Newsletter platform with subscriber management, post publishing, automations, and referral programs.
Capabilities
| Integration | Available | Notes |
|---|---|---|
| API | ✓ | REST API v2 for publications, subscriptions, posts, segments |
| MCP | ✓ | Official server (help article), checked 2026-10-27 |
| CLI | ✓ | [beehiiv.js](../clis/beehiiv.js) |
| SDK | - | No official SDK; OpenAPI spec available for codegen |
Authentication
- Type: Bearer Token
- Header:
Authorization: Bearer {api_key} - Get key: Settings > API under Workspace Settings at https://app.beehiiv.com
- Note: API key is only shown once on creation; copy and store it immediately
Common Agent Operations
List publications
GET https://api.beehiiv.com/v2/publicationsGet publication details
GET https://api.beehiiv.com/v2/publications/{publicationId}List subscriptions
GET https://api.beehiiv.com/v2/publications/{publicationId}/subscriptions?limit=10&status=active
# Filter by email
GET https://api.beehiiv.com/v2/publications/{publicationId}/subscriptions?email=[email removed]Create subscription
POST https://api.beehiiv.com/v2/publications/{publicationId}/subscriptions
{
"email": "[email removed]",
"reactivate_existing": false,
"send_welcome_email": true,
"utm_source": "api",
"tier": "free"
}Update subscription
PATCH https://api.beehiiv.com/v2/publications/{publicationId}/subscriptions/{subscriptionId}
{
"tier": "premium"
}Delete subscription
DELETE https://api.beehiiv.com/v2/publications/{publicationId}/subscriptions/{subscriptionId}List posts
GET https://api.beehiiv.com/v2/publications/{publicationId}/posts?limit=10&status=confirmedCreate post (Pro and Enterprise plans)
POST https://api.beehiiv.com/v2/publications/{publicationId}/posts
{
"title": "Weekly Update",
"subtitle": "What happened this week",
"body_content": "<p>Hello subscribers...</p>",
"status": "draft"
}The API requires body_content or structured blocks. The CLI accepts raw HTML through --content and sends it as body_content.
List segments
GET https://api.beehiiv.com/v2/publications/{publicationId}/segmentsList automations
GET https://api.beehiiv.com/v2/publications/{publicationId}/automationsGet referral program
GET https://api.beehiiv.com/v2/publications/{publicationId}/referral_programAPI Pattern
All endpoints are scoped to a publication. The publication ID is a required path parameter for most operations. Responses use cursor-based pagination with a cursor parameter for fetching subsequent pages.
Key Metrics
Subscription Fields
status- validating, invalid, pending, active, inactivetier- free or premiumcreated- Subscription creation timestamputm_source,utm_medium,utm_campaign- Acquisition trackingreferral_code- Unique referral code for subscriber
Post Fields
status- draft, confirmed (scheduled), archivedpublish_date- When the post was/will be publishedstats- Open rate, click rate, subscriber count (with expand)
Parameters
Common Query Parameters
limit- Results per page (1-100, default 10)cursor- Cursor for next page of resultsexpand[]- Include additional data: stats, custom_fields, referralsstatus- Filter by subscription/post statustier- Filter by subscription tier (free, premium)
When to Use
- Managing newsletter subscribers programmatically
- Syncing subscribers from external signup forms or landing pages
- Building referral program integrations
- Automating post creation and publishing workflows
- Tracking subscriber growth and engagement metrics
Rate Limits
- API rate limits apply per API key
- Use cursor-based pagination for efficient data retrieval
- Batch operations not available; iterate with individual requests
Relevant Skills
- emails
- newsletter-growth
- referrals
- content-strategy
Source: https://github.com/coreyhaines31/marketingskills/blob/main/tools/integrations/beehiiv.md
Author: coreyhaines31, Marketing skills. License: MIT.
Shown here with formatting for the web; email addresses removed. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The Codex library holds 7,009 entries. Members can search all of them by meaning and read every one in full.