beehiiv MCP by usefulapi

v1.2.1
io.usefulapi/beehiiv Checked 3 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
directionstringSort direction.
limitintegerResults per page, 1 to 100 (default 10).
pageintegerPage 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}.

ParameterTypeDescription
publication_idstringPublication 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.

ParameterTypeDescription
cursorstringCursor from the previous reply's next_cursor (where supported).
directionstringSort direction.
emailstringFilter by exact email address.
expandarrayExtra objects to include on each subscription.
limitintegerResults per page, 1 to 100 (default 10).
order_bystringSort field.
pageintegerPage number (offset pagination).
publication_idstringPublication id (starts with pub_). Defaults to the publication this server is connected to.
statusstringFilter by subscription status (default all).
tierstringFilter 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}.

ParameterTypeDescription
subscription_id *stringThe subscription id (from beehiiv_list_subscriptions).
expandarrayExtra objects to include on each subscription.
publication_idstringPublication 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}.

ParameterTypeDescription
email *stringThe subscriber's email address.
expandarrayExtra objects to include on each subscription.
publication_idstringPublication 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.

ParameterTypeDescription
audiencestringFilter by audience.
directionstringSort direction.
limitintegerResults per page, 1 to 100 (default 10).
order_bystringSort field.
pageintegerPage number (offset pagination).
platformstringFilter by where the post is published.
publication_idstringPublication id (starts with pub_). Defaults to the publication this server is connected to.
statusstringFilter 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}.

ParameterTypeDescription
post_id *stringThe post id (from beehiiv_list_posts).
publication_idstringPublication 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.

ParameterTypeDescription
limitintegerResults per page, 1 to 100 (default 10).
pageintegerPage number (offset pagination).
publication_idstringPublication 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}.

ParameterTypeDescription
automation_id *stringThe automation id (from beehiiv_list_automations).
publication_idstringPublication 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.

ParameterTypeDescription
directionstringSort direction.
limitintegerResults per page, 1 to 100 (default 10).
order_bystringSort field.
pageintegerPage number (offset pagination).
publication_idstringPublication id (starts with pub_). Defaults to the publication this server is connected to.
statusstringFilter by calculation status.
typestringFilter 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}.

ParameterTypeDescription
segment_id *stringThe segment id (from beehiiv_list_segments).
publication_idstringPublication 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.

ParameterTypeDescription
publication_idstringPublication 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.

ParameterTypeDescription
directionstringSort direction.
limitintegerResults per page, 1 to 100 (default 10).
pageintegerPage number (offset pagination).
publication_idstringPublication 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.

ParameterTypeDescription
directionstringSort direction.
limitintegerResults per page, 1 to 100 (default 10).
pageintegerPage number (offset pagination).
publication_idstringPublication 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.

ParameterTypeDescription
limitintegerResults per page, 1 to 100 (default 10).
publication_idstringPublication 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.

ParameterTypeDescription
cursorstringCursor from the previous reply's next_cursor (where supported).
limitintegerResults per page, 1 to 100 (default 10).
pageintegerPage number (offset pagination).
post_idstringOnly polls attached to this post id.
publication_idstringPublication 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.

ParameterTypeDescription
publication_idstringPublication 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.

ParameterTypeDescription
email *stringThe subscriber's email address.
newsletter_list_idsarrayNewsletter list ids to join.
publication_idstringPublication id (starts with pub_). Defaults to the publication this server is connected to.
reactivate_existingbooleanReactivate the address if it had unsubscribed. Use only with fresh consent.
tierstringTier 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}.

ParameterTypeDescription
subscription_id *stringThe subscription id (from beehiiv_list_subscriptions).
newsletter_list_idsarrayNewsletter lists to join.
publication_idstringPublication id (starts with pub_). Defaults to the publication this server is connected to.
tierstringNew tier.
unsubscribebooleantrue unsubscribes the subscriber from the publication.
unsubscribe_newsletter_list_idsarrayNewsletter 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.

ParameterTypeDescription
subscription_id *stringThe subscription id.
tags *arrayTag names.
publication_idstringPublication 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.

ParameterTypeDescription
subscription_id *stringThe subscription id.
tags *arrayTag names.
publication_idstringPublication 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.

ParameterTypeDescription
body_content *stringPost body as one HTML string (use inline styles).
title *stringPost title.
publication_idstringPublication id (starts with pub_). Defaults to the publication this server is connected to.
subtitlestringPost subtitle.