beehiiv MCP by usefulapi
v1.2.1Read subscribers, posts and segments; add subscribers, tags and draft posts in beehiiv.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
beehiiv_list_publications List publications
List the publications this API key can access. Use it first to find a publication id. beehiiv API: GET /v2/publications.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction. |
limit | integer | Results per page, 1 to 100 (default 10). |
page | integer | Page number (offset pagination). |
beehiiv_get_publication Get a publication
Get one publication: name, description, time zone, reply-to address and double opt-in setting. beehiiv API: GET /v2/publications/{publicationId}.
| Parameter | Type | Description |
|---|---|---|
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_subscriptions List subscriptions
List subscribers of a publication with status, tier, tags and optional stats. Filter by status or tier, or by exact email. Use cursor for the next page. beehiiv API: GET /v2/publications/{publicationId}/subscriptions.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous reply's next_cursor (where supported). |
direction | string | Sort direction. |
email | string | Filter by exact email address. |
expand | array | Extra objects to include on each subscription. |
limit | integer | Results per page, 1 to 100 (default 10). |
order_by | string | Sort field. |
page | integer | Page number (offset pagination). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
status | string | Filter by subscription status (default all). |
tier | string | Filter by tier (default all). |
beehiiv_get_subscription Get a subscription
Get one subscriber by id: status, tier, tags, custom fields and newsletter lists. beehiiv API: GET /v2/publications/{publicationId}/subscriptions/{subscriptionId}.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The subscription id (from beehiiv_list_subscriptions). |
expand | array | Extra objects to include on each subscription. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_get_subscription_by_email Get a subscriber by email
Find one subscriber by email address. beehiiv API: GET /v2/publications/{publicationId}/subscriptions/by_email/{email}.
| Parameter | Type | Description |
|---|---|---|
email * | string | The subscriber's email address. |
expand | array | Extra objects to include on each subscription. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_posts List posts
List posts (newsletter issues) of a publication. Filter by status (draft, confirmed, archived) or audience. beehiiv API: GET /v2/publications/{publicationId}/posts.
| Parameter | Type | Description |
|---|---|---|
audience | string | Filter by audience. |
direction | string | Sort direction. |
limit | integer | Results per page, 1 to 100 (default 10). |
order_by | string | Sort field. |
page | integer | Page number (offset pagination). |
platform | string | Filter by where the post is published. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
status | string | Filter by post status. |
beehiiv_get_post Get a post
Get one post by id: title, subtitle, status, publish date, audience and web/email settings. beehiiv API: GET /v2/publications/{publicationId}/posts/{postId}.
| Parameter | Type | Description |
|---|---|---|
post_id * | string | The post id (from beehiiv_list_posts). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_automations List automations
List automations (email sequences) of a publication with their status. beehiiv API: GET /v2/publications/{publicationId}/automations.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1 to 100 (default 10). |
page | integer | Page number (offset pagination). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_get_automation Get an automation
Get one automation by id. beehiiv API: GET /v2/publications/{publicationId}/automations/{automationId}.
| Parameter | Type | Description |
|---|---|---|
automation_id * | string | The automation id (from beehiiv_list_automations). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_segments List segments
List audience segments of a publication with their status and subscriber counts. beehiiv API: GET /v2/publications/{publicationId}/segments.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction. |
limit | integer | Results per page, 1 to 100 (default 10). |
order_by | string | Sort field. |
page | integer | Page number (offset pagination). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
status | string | Filter by calculation status. |
type | string | Filter by segment type. |
beehiiv_get_segment Get a segment
Get one segment by id: its filter definition and status. beehiiv API: GET /v2/publications/{publicationId}/segments/{segmentId}.
| Parameter | Type | Description |
|---|---|---|
segment_id * | string | The segment id (from beehiiv_list_segments). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_custom_fields List custom fields
List the custom subscriber fields defined on a publication. beehiiv API: GET /v2/publications/{publicationId}/custom_fields.
| Parameter | Type | Description |
|---|---|---|
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_tiers List premium tiers
List the premium tiers (paid subscription levels) of a publication. beehiiv API: GET /v2/publications/{publicationId}/tiers.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction. |
limit | integer | Results per page, 1 to 100 (default 10). |
page | integer | Page number (offset pagination). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_newsletter_lists List newsletter lists
List the newsletter lists (sub-audiences a subscriber can join) of a publication. beehiiv API: GET /v2/publications/{publicationId}/newsletter_lists.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort direction. |
limit | integer | Results per page, 1 to 100 (default 10). |
page | integer | Page number (offset pagination). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_webhooks List webhooks
List the webhook endpoints registered on a publication. beehiiv API: GET /v2/publications/{publicationId}/webhooks.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1 to 100 (default 10). |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_list_polls List polls
List polls of a publication, optionally for one post. beehiiv API: GET /v2/publications/{publicationId}/polls.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous reply's next_cursor (where supported). |
limit | integer | Results per page, 1 to 100 (default 10). |
page | integer | Page number (offset pagination). |
post_id | string | Only polls attached to this post id. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_get_referral_program Get the referral program
Get the referral program settings of a publication (reward tiers and whether it is on). beehiiv API: GET /v2/publications/{publicationId}/referral_program.
| Parameter | Type | Description |
|---|---|---|
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_create_subscription Add a subscriber
Add an email address as a subscriber of a publication. Only add people who asked to join. Set reactivate_existing only when the person consented again. beehiiv API: POST /v2/publications/{publicationId}/subscriptions.
| Parameter | Type | Description |
|---|---|---|
email * | string | The subscriber's email address. |
newsletter_list_ids | array | Newsletter list ids to join. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
reactivate_existing | boolean | Reactivate the address if it had unsubscribed. Use only with fresh consent. |
tier | string | Tier to assign (default free). |
beehiiv_update_subscription Update a subscriber
Change a subscriber's tier, newsletter lists, or unsubscribe them from the publication. Send only the fields to change. beehiiv API: PUT /v2/publications/{publicationId}/subscriptions/{subscriptionId}.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The subscription id (from beehiiv_list_subscriptions). |
newsletter_list_ids | array | Newsletter lists to join. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
tier | string | New tier. |
unsubscribe | boolean | true unsubscribes the subscriber from the publication. |
unsubscribe_newsletter_list_ids | array | Newsletter lists to leave. |
beehiiv_add_subscription_tags Add tags to a subscriber
Add tags to one subscriber. Tags group subscribers; they do not send anything. beehiiv API: POST /v2/publications/{publicationId}/subscriptions/{subscriptionId}/tags.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The subscription id. |
tags * | array | Tag names. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_remove_subscription_tags Remove tags from a subscriber
Remove tags from one subscriber. The tag stays on the publication. beehiiv API: DELETE /v2/publications/{publicationId}/subscriptions/{subscriptionId}/tags.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | The subscription id. |
tags * | array | Tag names. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
beehiiv_create_draft_post Create a draft post
Create a draft post (newsletter issue) from HTML. The post is saved as a draft only: it is not scheduled or sent. Review it in beehiiv before you publish. beehiiv API: POST /v2/publications/{publicationId}/posts.
| Parameter | Type | Description |
|---|---|---|
body_content * | string | Post body as one HTML string (use inline styles). |
title * | string | Post title. |
publication_id | string | Publication id (starts with pub_). Defaults to the publication this server is connected to. |
subtitle | string | Post subtitle. |