Beyond-Bot.ai Logo+
beehiiv MCP logo

Beyond-Bot.ai + beehiiv MCP

Manage beehiiv newsletters, posts, subscribers, automations, websites, podcasts and analytics through beehiiv's hosted MCP server.

model context protocolcomposioexperimentalNo managed auth

Was du mit dieser Integration tun kannst

Dateneingabe automatisieren

Synchronisiere automatisch neue Kontakte oder Deals von Beyond-Bot.ai nach beehiiv MCP.

Kundenprofile anreichern

Nutze Beyond-Bot.ai, um neue Informationen zu finden und in beehiiv MCP zu ergänzen.

Workflows auslösen

Starte automatisierte Workflows in beehiiv MCP basierend auf Gesprächen mit deinem KI-Agenten.

Verfügbare Aktionen

Diese Aktionen kann dein virtueller Experte in beehiiv MCP ausführen.

Add Automation Step

Add a single step to an existing automation's flow. Works on live (published) automations: the step is added to a staging workspace (a draft copy) and only affects the live automation once you publish. Reference the parent step via `parent_id`; live step IDs are accepted and mapped to their staging copy. Call `get_automation_schema` for per-step-type param shapes. For `send_email`, pass `subject_line` to auto-create a placeholder email, or `email_message_id` to attach an existing one. Configure a `webhook` step's destination with `update_automation_step` after creating it. When the response reports the automation live with unpublished changes, relay its `publish_instructions`.

Add Segment To Newsletter List

Add every subscriber in a segment to a newsletter list. Runs in the background against the segment's current members. Poll `get_subscription` (with include_newsletter_lists) or the list's `list_subscriptions` to confirm membership.

Apply To Paid Recommendation

Apply to a paid recommendation offer, asking that publication for permission to recommend them to your subscribers in exchange for a payout per subscriber you send them. Find offer_id with discover_publications - it is the `offer.id` on a publication that pays to be recommended. Applying normally puts nothing in front of your subscribers yet: the offer's owner reviews the application, and only an accepted one becomes a live recommendation. The exception is an offer whose `offer.auto_accepts_you` is true, which accepts on submission and starts recommending them to your subscribers straight away - confirm with the publisher before applying to one of those. Track an application with list_paid_recommendation_applications; once accepted it appears in list_recommendations with boosted: true. message is the pitch the reviewer reads, so say who your audience is and why they are a good match. The reviewer sees only your message and your publication, so applying without one gives them nothing to judge. Each publication can only submit a limited number of applications per month, and only one application per offer at a time.

Assign Product Tags To Product

Replace the full set of tags assigned to a product. product_tag_ids is the complete desired tag list, not a delta - it replaces any existing assignments. Pass an empty array to clear all tags. IDs that are not tags of this publication are rejected.

Ban Community Member

Ban or unban a community member. Banning blocks them from posting, commenting, and DMs; pass banned=false to lift a ban. Defaults to banning. Idempotent - a member already in the requested state is left unchanged.

Build Site Page

Compose a single website page using the template-builder factory (tb) - deterministic, rule-validated output - and write it as that page's DRAFT content. The live published page is never changed; `publish_site` takes the draft live, or a human promotes it via the beehiiv advanced builder. `category` must match the identified page's actual category, which guards against overwriting e.g. a `home` page with `archive`-shaped content. If tb's page-scoped rules report errors they come back so you can adjust the spec and retry.

Create Community Invite

Invite people to a publication's community from one of three audiences - a set of subscriber segments, a list of email addresses, or recommended subscribers. Pick one with `source` and provide its matching field. Invites are created and emailed in the background.

Delete Automation Step

Delete a single step from an existing automation's flow. Works on live (published) automations: the deletion is applied to a staging workspace (a draft copy) and only affects the live automation once you publish. The step's children are re-parented automatically. Pass the live or staging `automation_step_id` to delete. Live IDs are mapped to their staging copy. When the response reports the automation live with unpublished changes, relay its `publish_instructions`.

Delete Automation Trigger

Delete a trigger from an automation. Always edits a staging workspace (a draft copy); the live automation is unchanged until a human publishes from the editor. Pass the live or staging `automation_trigger_id` to delete. Live IDs are mapped to their staging copy. An automation must keep at least one trigger. The deletion is saved to staging; publish the changes from the editor.

Delete Content Tag

Delete a content tag from a publication. The tag is removed from every post that uses it and its website tag page stops resolving. This cannot be undone.

Delete Podcast Episode

Delete a podcast episode and its audio files. A published episode disappears from the show's RSS feed. This cannot be undone through the API.

Delete Podcast Show

Delete a podcast show and all of its episodes. The show's RSS feed stops serving. This cannot be undone through the API.

Derive Brand Spec

Derive a complete BrandSpec from this publication's own brand - its web theme colors, fonts, name, and logo - via the template-builder factory. When the user wants pages composed in their existing brand, derive here first and pass the returned `brand_spec` through to `build_site_page` or `apply_site_package_draft`, adjusted or not. The derivation is deterministic and opinionated: the theme's five colors expand into the full 10-role palette with contrast-safe fallbacks (weak or missing colors are repaired), fonts map onto the editor's catalog, and three themes are generated. Palette, typography, and logo come from the publication; archetype, cards, motion, and copy land on neutral defaults - those are the user's creative choices, so adjust them conversationally before composing.

Discover Publications

Search the publications you could recommend, the same surface as the discover page in the app. Returns public-safe fields only. Use this to find a publication's ID before creating a recommendation. A publication that will pay you to recommend them carries an `offer`: - payout_per_lead_cents: what you earn per verified subscriber you send them, after the beehiiv cut. - eligible_countries: subscribers must be in one of these countries to be paid for. Empty means no restriction. - has_applied: you already have an open application to this offer. - auto_accepts_you: your publication already meets their auto-accept rules, so an application would go live immediately instead of waiting for review. Use type 'paid' to see only publications that pay, or 'free' for only those that do not. subscriber_count_at_least is a floor the app rounds down to, not an exact count.

Duplicate Post

Duplicate an existing post within its publication. Creates a new draft copy with " (N)" appended to the title, carrying over the body content, theme, audience targeting, content tags, and authors. The copy always starts as a draft - promotion/publish remains a human action via the beehiiv UI. Returns the new post in the same shape as `get_post`. To rename or change the copy, follow up with `edit_post`.

Duplicate Post Template

Duplicate an existing post template into a new template in the same publication. The copy includes the template's content, theme, settings, and metadata, with "(N)" appended to its name. Discover template IDs with `list_post_templates`.

Duplicate Product

Duplicate an existing product. Creates a draft copy with "(COPY)" appended to the name and a "-copy" slug, including its variant, pricing and redeemable.

Edit Automation Email Content

Edit an existing automation email's body incrementally by targeting individual blocks - cheaper and safer than resending the whole body with `save_automation_email`. Untouched blocks are left exactly as they are; only the blocks you touch are re-parsed. Read the body once with `get_automation_email_content` (format: `editor_html`), then target a block in `operations`. Top-level blocks are stamped with `data-node-hash="<hash>"`; the response returns refreshed hashes so you can chain more edits without re-reading. A nested node is a valid target too - to change one paragraph inside a `section`, target that paragraph's `data-id` rather than replacing the whole section and re-sending its siblings. Target the hash by default: it is rejected if someone else changed that block since you read it, which an id is not. An edit elsewhere leaves a block's hash intact, so you can chain. Use an id when you mean to write over whatever the block now holds. `content` is HTML matching the editor's parse rules - the same contract as `save_automation_email`. Call `learn_post_authoring` for it. Automation emails drop ad-related editor nodes such as `advertisementOpportunity` rather than authoring them. Edits land in the automation's staging (draft) workspace. When the response reports the automation live with unpublished changes, relay its `publish_instructions`. Atomic: if any target no longer resolves, nothing is applied and you are told to re-read.

Edit Page

Change an existing website page's metadata - its name, URL slug, visibility, paywall, SEO/social cards, and layout toggles. This is a partial patch: only the fields you send change (e.g. send just `name` to rename, nothing else is touched). Send at least one of `name`, `new_slug`, `page_enabled`, `premium`, `metadata`, or `customization` - identifying the page alone leaves nothing to change. To read a page without changing it, call `get_page`. Edits land on the page record directly; body content is versioned separately. For the full typed shapes (the `metadata` and `customization` objects) call `learn_page_metadata`. On a website builder site a page turns on only once the publication has something for it to show - the same rule the editor applies before it offers "Show page" - so turning on Archive with no published post is refused rather than publishing an empty page.

Edit Post

Change an existing post's metadata (title, subtitle, audience, settings, SEO, content tags). This is a partial patch - only the fields you send change (e.g. send just `title` to rename, nothing else is touched). Web metadata (title, subtitle, web and SEO settings, tags, authors) saves straight to the post, including already-published posts, so there is no publish step and nothing for a human to do in the beehiiv UI. Once a post has sent, the email subject line, email preview text, custom live URL, social share and email audience are locked and are rejected or ignored. For the full typed shapes (recipients, web/email/seo settings, content tags) call `learn_post_metadata`. To change the post's body, use `edit_post_content` (body edits on a published post land in the draft unless you pass `publish: true`). To create a new post, use `save_post`.

Edit Post Content

Edit an existing post's body incrementally by targeting individual blocks, cheaper and safer than rewriting the whole body. Untouched blocks stay exactly as they are. Read the body once with `get_post_content` (format: `editor_html`), then target a block in `operations`. Top-level blocks carry `data-node-hash="<hash>"`; the response returns `content_updated` and refreshed hashes so you can chain edits. Placed images are omitted by default; pass `include_images: true` to include them. A nested node is a valid target too - to change one paragraph inside a `section`, target that paragraph's `data-id` rather than replacing the whole section and re-sending its siblings. Target the hash by default: it is rejected if someone else changed that block since you read it, which an id is not. Use an id when you mean to write over whatever the block now holds. A `replace` of a `section` must send a `<section>` back with all of its attributes, or the call is rejected because the background, border and padding would be lost. Target a node inside the section to change only its text. Each block takes one operation per call, so a target may appear only once in `operations`. To replace a block and add content around it, put the extra blocks in that replace's `content`; for anything else, make a second call with the refreshed hash. When the body already has structure - a template scaffold, a sign-off/footer, or a placeholder section - place new content with `insertBefore`/`insertAfter` the relevant block, or `replace` the placeholder, rather than `insert position:"end"`, which lands content after the sign-off. `content` is HTML matching the editor's parse rules; call `learn_post_authoring` for the node and mark contract. Ad network opportunities and automated ad placements can be inserted using the contract returned for `advertisementOpportunity` or `automatedAdvertisementPlacement`. Other editor-managed nodes already in the post (polls, sponsorships) round-trip fine, but adding or repointing them needs their contract to say they are authorable. Send only new or changed blocks; a block sent again is duplicated. Atomic: if any target no longer resolves, nothing is applied and you are told to re-read. Edits land in the draft; on a published or archived web post, set `publish: true` to push them live in the same call.

Edit Post Template

Update a post template's metadata. This is a partial patch - only fields you send are changed. To replace the template's body content, use `edit_post_template_content`. To create a new template, use `save_post_template`. Templates migrated from publication settings or created during onboarding are read-only.

Edit Post Template Content

Edit a post template's body incrementally by targeting individual blocks, or replace the entire body with `html_content`. For incremental edits, read the template once with `get_post_template_content` (each top-level block carries a `data-node-hash`), then target blocks in `operations`. Only the blocks you touch are re-parsed; untouched blocks survive byte-identical. Use `insertBefore`/`insertAfter` to place new content: `insertBefore` a block hash finds that block's position and prepends content before it. For full replacement, provide `html_content` - it replaces the entire body. Omit `operations` for full replace. `operations` and `html_content` are mutually exclusive; providing both raises an error. For supported HTML syntax and per-node parseHTML rules, call `learn_post_authoring`. Templates migrated from publication settings or created during onboarding are read-only. To update template metadata (name, subject line, etc.), use `edit_post_template` instead. For theme-level styling, use `save_post_template_theme`.

Generate Image

Generate an AI image from a text prompt and save it to a publication's media library. Fire-and-forget: this enqueues a background job and returns immediately with a `generation_id` and status "pending". Kick it off, then continue with other independent work (other pages, content, assets), then call `get_image_generation_status` once you need the result (with `wait: 20` in the in-app agent). The finished asset's `id` serves as a post's `thumbnail_id`, and its `url` embeds in HTML content via `save_post` or `edit_post_content`. Generation counts toward the workspace's AI credit quota, reported in the completed status response's `ai_usage` field.

Get Ad Report

The full performance and payment report for one ad placement: earnings and payout status, payout model and rate, recipients and delivery rate, unique opens and open rate, payable clicks and click-to-open rate, and the send window. Get the report id from list_ad_reports.

Get Asset

Get a single asset from the media library with full details including usage information

Get Author

Get an author's details by author ID

Get Automation

Get an automation's full configuration including triggers, step flow, email metadata, and branch paths. Use workspace parameter to inspect live (published) or staging (draft) flow.

Get Automation Email Content

Get the rendered content of an automation step's email. 'editor_html' returns canonical HTML compatible with save_automation_email and, for small changes, edit_automation_email_content - each top-level block is stamped with data-node-hash for targeted patching. A 'staging' read falls back to 'live' when the step has no unpublished draft yet; the response 'workspace' field reports which was read. Call `get_automation_schema` for the full email workflow.

Get Automation Journey

Get detailed information about a single automation journey, including all journey steps, branch decisions, and per-subscriber email engagement metrics (open rate, click rate).

Get Automation Schema

Get the Automation reference: trigger event main_conditions shapes, step type params, branch paths, resources, and email authoring workflow.

Get Automation Stats

Get performance metrics for an automation. Returns overall stats, per-email breakdown, and optionally per-step subscriber counts with branch decisions. Rates are percentages.

Get Automation Workspace Diff

Compare an automation's staging workspace against its live (published) version. Returns a summary of what changed: added, removed, or modified steps and triggers. Use before publishing to review pending changes.

Get Community

Get a publication's community: branding, sync toggles, tier gating, Luma calendar, and PWA. Returns `exists: false` when the publication has not created a community yet.

Get Community Channel

Get a community channel with its display position, default flag, and access gating: `gated` is true when members need a premium tier or a matching custom field value, and `tiers` lists the premium tiers required.

Get Community Member

Get a community member's profile, roles, and banned/removed status.

Get Community Metrics

Get a publication's community overview metrics for a period: new members, posts created, comments and replies, and member participation, each with the period total and the previous period's total for comparison. Pass `breakdown` to drill into a ranked list instead of the overview: new_members (recent joiners), popular_channels, popular_members, or top_posts. For popular_channels/popular_members set `by` to rank by "posts" (default) or "comments".

Get Community Post

Get a community post with its threaded comments and a summary of any attached content (embedded Post, Poll, Survey, or Podcast presented as type + id). Comments are paginated.

Get Community Scheduled Post

Get a scheduled community post with its full body as HTML, in the form schedule_community_post takes. Read a post before cancelling it to schedule it again, so its content carries over. A video in the post does not carry over: a post with a video can only be rescheduled in the beehiiv app. You read as your own community member, the one that joined with your beehiiv account's email, and that member must be a moderator or above. Otherwise the call returns "Access denied": tell the user to join the community with that email or to get a moderator role.

Get Condition Set

Retrieve detailed information about a condition set, including its full definition

Get Condition Set Schema

Get the condition set schema: available condition types, attributes, operators, and structure.

Get Content Gate

Get the content gate settings for a page on a publication's website. Content gates hide content below the gate based on the visitor's subscription status. Reports the gate's type (inline or popup) and its audience settings. A Post page's popups (contentGatePopup, emailCapturePopup) are listed under `popups` with their design settings; save_content_gate restyles them. Identify the page with page_id, slug, or page_type; call list_pages to see them.

Get Crawler Analytics

Get AI crawler and bot analytics for a publication's website — total, served, and blocked requests, AI-crawler share, per-crawler breakdown, top crawled pages, and response status codes.

Get Current User

Get identity and access context for the authenticated user

Get Earnings

Get a publication's revenue broken down by feature - ad network, boosts, paid subscriptions, and digital products - plus the combined total, over a time period or an exact date range.

Get Engagements

Get email engagement metrics (opens, clicks) for a publication over time, broken down by period.

Get Group Subscription

Get a single group subscription: its tier, purchaser, seat counts, per-seat price, list price, the tier's current group discount (it can differ from the discount at purchase), billing dates and the custom deal it came from, if any. Use list_group_subscription_seats for its members.

Get Group Subscription Deal

Get a single custom group subscription deal: its negotiated seats and price, contacts, payment method, purchase link or invoice URL, and the group subscription it created once redeemed. purchase_link_url is set only for card deals; invoice deals use invoice_url instead.

Get Image Generation Status

Check the status of an AI image generation started by `generate_image`: "pending", "processing", "completed" (the response then carries full asset details) or "failed" (with an error message). Finished responses also carry an `ai_usage` object reporting AI credit consumption. Generation typically takes 15-45 seconds. In the in-app agent, pass `wait: 20` to block up to 20 seconds for the result, and do not call it in a loop: each call already waits. If it is still pending or processing after one more call, tell the user it will appear in their media library when it finishes. The in-app chat shows the completed image to the user, so do not say it cannot be previewed. Other clients ignore `wait`: do other independent work after kicking it off, then check back once, leaving about 10 seconds between checks.

Get Opt In Email

Get the opt-in confirmation email for a publication. Returns the subject line, preview text, and content as editor HTML. Call save_opt_in_email to make changes. Pass format: 'html' for the full themed email render instead.

Get Order

Get an order's full details, including the buyer (subscription id, email, status), line items, refund status, and fulfillment status.

Get Page

Get a website page's metadata and customization. Read the page's body with get_page_content.

Get Page Content

On a website builder site, a custom HTML page returns its HTML. Any other page, called with just the page identifier, returns an `editable` list of the nodes you may change, with the template value in `attrs` and the publisher's edit in `override`. A `scope: "site"` row is shared by every page. Only what would publish is listed, so a post feed with no posts is left out until it has content. The rest describes the advanced builder. Read a website page's body. `format: "html"`, the default, renders it under `html` for reading, each top-level block stamped with its `data-node-hash`; it omits card-layout attrs and a feed's rebuilt `data`. `format: "json"` returns native Tiptap JSON - the format `save_page_content` writes - so read with it before editing. Passing `node_id`, `node_hash` or `block_hash` reads json, whatever `format` says. A raw-HTML page returns its HTML verbatim in either format, the format `save_page_html` writes. The rest describes json. Every node, nested or not, is addressable by its `attrs.id` or its `_hash`, here and in `save_page_content`. Prefer the id for anything you intend to edit later: a hash is a digest of the node's bytes, so it retires the moment anything inside it changes - including one you did not make, since the editor re-saves the page whenever a human touches it. Use the hash when a write should fail if the block moved under you. Small docs return whole. Larger ones come back as an index of blocks (hash, id, type, chars); `type` and `chars` tell you which blocks the request concerns. A node still too large returns its own `children` index to drill into. A truncated response names the way to get the rest: `next_offset`, `unfetched`, `attr_chars`. A dynamic element (post feed, pricing, authors) keeps its per-card render template in `structureTiptapState`/`structureTiptapStateDraft`, returned as an `__elided__:...` marker. Pass the marker back untouched and `save_page_content` restores it; omitting the attr keeps it too. That template renders the cards, so sibling style attrs (`titleFontSize`, `titleTextColor`...) only reach what it leaves to inherit - a missing change lives inside it, so reveal it and edit it there. A post, products or podcast feed's `data` (`selectedPodcastShowEpisodes` on a podcast feed) is elided the same way: the server rebuilds it on every page load, so what it stores is its last render. Change what a feed shows through its group, filter and count attrs; reveal `data` only to edit a pinned selection.

Get Paid Recommendation Application

Get everything known about one incoming paid recommendation application, so the decision to accept or reject it is an informed one. Find application_id with list_paid_recommendation_applications using direction 'incoming'. On top of the applicant's message and what they publish, this returns: - quality_scores: size, growth, engagement, and boost_quality, each scored 1 (worst) to 5 (best). boost_quality is null until they have sent enough referrals to judge, and the whole object is {insufficient_data: true} for a publication less than a week old. - referral_quality: how many of the subscribers they have referred to paid recommendations passed verification, from 'poor' to 'excellent'. null until they have sent enough referrals. - subscribers_by_country: where their audience reads from, as a percentage. - recent_posts: their five most recent sends. A low score is not by itself a reason to reject: a small, engaged publication in your niche can be worth more than a large one outside it. Weigh these against the applicant's message. This only works for applications to your own offer. Accept or reject with review_paid_recommendation_application.

Get Podcast Episode

Retrieve detailed information about a podcast episode

Get Podcast Episode Stats

Get performance metrics for a specific podcast episode — total downloads, unique listeners with period-over-period growth, plus top listening apps, countries, and cities by download volume. Returns all-time stats by default.

Get Podcast Episode Transcript

Retrieve the plain text transcript for a podcast episode

Get Podcast Show

Retrieve detailed information about a podcast show including categories, platform links, and episode count

Get Podcast Show Stats

Get performance metrics for a podcast show — total downloads, unique listeners with period-over-period growth, plus top listening apps, countries, and cities by download volume. Defaults to all-time stats; pass start_date/end_date for a custom range.

Get Poll

Get a poll's details including choices and response counts

Get Post

Get a post's metadata and configuration. Read its body with get_post_content.

Get Post Content

Get the content of a post in a specified format (text, html, or editor_html), optionally simulating how it appears for different subscriber types

Get Post Footer

Read the publication's custom email footer - the block of content that renders at the bottom of every post's email, above the copyright line, mailing address, and unsubscribe link. `body` is canonical HTML in the shape `save_post_footer` accepts, so you can read it, change it, and send it straight back. Each top-level block carries a `data-node-hash` to target with its `operations`. Empty `body` with `active: false` means no footer has been written yet. This reads the publication-wide footer by default. Pass `post_theme_id` to read what a given theme renders, which is its own footer when it carries one and the publication's otherwise.

Get Post Stats

Get performance metrics for a specific post — email delivery, open rate, click-through rate, bounce rate, unsubscribe rate, and web engagement.

Get Post Stats Batch

Get performance metrics for multiple posts in one call — per-post email delivery, open rate, click-through rate, unsubscribes, and web engagement. Returns a per-post summary; for the full single-post breakdown (bounce, suppression, split test) use get_post_stats.

Get Post Template Content

Read a post template's body as canonical editor HTML - the shape `edit_post_template_content` accepts, so what you read here can be edited and sent straight back. Each top-level block carries a `data-node-hash` to target with its `operations`. Pass format: 'html' for the full themed email render instead.

Get Post Theme

Read the theme design tokens a post renders with - fonts, colors, spacing, borders and backgrounds across text, tables, buttons, quotes, images and layout. `tokens` is the same map `save_post_theme` accepts, so you can read it, change one key, and send it straight back. `source` tells you where the theme comes from: `post` when the post carries its own override, `publication_default` when it is still riding the publication's theme and every publication change moves it too. A post created without a template inherits silently, so check `source` before a send. This reads the post's own styling. `learn_post_authoring` reports the publication default and the token vocabulary.

Get Premium Offer

Get a single paid subscription offer, including its terms, the tiers and billing cadences it applies to, and how many times it has been redeemed. An empty tiers list means the offer applies to every tier, and an empty plans list means it applies to every billing cadence.

Get Product

Get a product's full details including variants, tags, and sales totals

Get Product Review Settings

Get product review moderation and display settings for a publication

Get Publication

Get a publication's profile and configuration. Members and admins also see subscriber tags. Admins also see each web domain, email domain, web redirect, and branded link with the status shown in domain settings.

Get Publication Settings

Get the publication settings that save_publication_settings accepts. Only settings currently available to this publication are returned, and the document is safe to round-trip unchanged, except that a publication holding more tags than can be saved must omit tags when saving.

Get Publication Stats

Get a high-level overview of publication performance — active subscribers, engagement rates, subscriber growth, earnings, and top acquisition sources.

Get Recommendation Partner Insights

Get engagement and spend insights for a publication's paid recommendation partners (publications you pay to recommend you), to identify which send high-quality, engaged subscribers and which underperform or should be canceled. Returns totals plus partners ranked by subscribers gained and by open rate (both top and under performers), and the single highest-growth and highest-paid partners. A partner needs at least 10 subscribers gained in the period to be ranked. `partners` lists every paid partner, with no minimum, sorted by order_by (highest first) and paged with page and per_page. Use it to rank all partners by spend, open rate or subscribers gained. open_rate is a lifetime figure for the partner, not a per-period one, so it is the same in every time_period. It is null for a partner with no delivered emails yet, and those sort last. Pass recommendation_id (the 'id' from list_recommendations with direction 'incoming') to also get that partner's figures as `partner`. Its status_counts split subscribers gained in the period: - verified: passed verification and were paid for. - pending: still in the verification window, including escrowed signups. - failed: did not pass verification and were not paid for. - pending_opt_in: have not confirmed a double opt-in subscription yet. - free: gained without a verification status. - deleted: acquired, then deleted. status_counts, open_rate and the engagement, blocked-by-country and total-subscriber figures need the recommendations network UI on the publication. Without it, `partner` carries the legacy all-time figures only. Rates are percentages from 0 to 100.

Get Referral Program

Get a publication's referral program details, including milestones and rewards

Get Segment

Retrieve detailed information about a segment

Get Segment Schema

Get the Segment DSL reference: available fields, operators, syntax, and examples.

Get Site

Get a publication's website structure, content index, and configuration. Returns site metadata, SEO, social links, analytics pixels, settings, content (posts, authors, categories, products, podcast episodes, forms), fonts, and redirects. Two keys cover the site outside its pages: `theme` holds the fonts and colors every page, global and post list inherits, and `globals` names the navbar/footer/modal documents, which the page tools cannot reach. A publication on the legacy website builder has no site these tools can read.

Get Site Global

Get one of a website's site globals (navbar, footer, login_modal, signup_modal). Reads the draft you are editing, or pass `site_version_id` from `list_site_versions` to read what an earlier version held. Write it back with `save_site_global`. Every node carries a `_hash`, and most carry an `attrs.id`: either addresses that node in a `save_site_global` `operations` edit, and an id survives a rewrite where a hash does not. A navbar's two trees are under `attrs.data.desktop` and `attrs.data.mobile`, not in `content`, and they mirror ids - so an operation on a navbar names its `viewport`. A navbar or footer in raw-HTML mode comes back as `uses_html: true` and its HTML verbatim as `html`; write that back with `save_site_global_html`. Long documents come back split across `total_chunks` - fetch the rest with `chunk` and concatenate them in order. A website builder site draws its chrome from a preset, so there is no document: any valid `key` returns one `editable` list covering the navbar, footer and subscribe form together, read from the draft. With section customization it is grouped by region, as `{region, elements}` entries. Write each back with `save_site_global` `overrides`, under its `key` where it has one, else its `id`.

Get Skill

Get an agent skill with its instructions, such as brand guidelines.

Get Sponsorship Agreement Item

Get full details for a sponsorship agreement item, including advertiser info, placement details, and scheduled date. Use after list_sponsorship_agreement_items to get richer context before inserting a Direct Sponsorship widget into a post.

Get Sponsorship Product

Get full details for a Direct Sponsorships product, including price, product type, booking message, recurrence, and asset requirements. Use after list_sponsorship_products, or before updating one with save_sponsorship_product.

Get Subscribe Form

Get a subscribe form's settings, theme design tokens (a flat token map matching save_subscribe_form_theme's input), and custom field bindings. Returns unpublished draft edits when present, otherwise the live theme.

Get Subscribe Form Diff

Compare a subscribe form's unpublished draft against its live theme. Lists every token that differs (live vs draft value) - i.e. exactly what publishing the draft from the website editor would change. Returns no changes when there is no draft.

Get Subscriber Growth

Get day-by-day subscriber growth for a publication: new subscribers, unsubscribes, resubscribes, and net change per day. Net is subscribed minus unsubscribed and excludes resubscribes. Only each subscriber's most recent resubscribe is counted, and a later unsubscribe removes it. Defaults to the last 28 days. For the total active subscriber count over time, use get_subscriber_history.

Get Subscriber History

Get the publication's active subscriber count over time, matching the values shown in the dashboard's subscriber growth chart. Use this for historical or trend questions such as "how has my list grown year over year?" or "what did my subscriber count look like last quarter?"; for one window's totals and rates rather than a series, use get_publication_stats; for daily new subscribers and unsubscribes, use get_subscriber_growth. Each entry is the count as of that date, so the entry dated 2025-01-01 is the count at the end of 2024. The final entry is the count right now. To compare two windows, pass start_date and end_date spanning both. Buckets are days when start_date is within 92 days of today, weeks inside a year, months from a year back.

Get Subscription

Get a subscription's details by subscription ID

Get Subscription Batch

Get full details for multiple subscriptions in one call — email, status, tags, tiers, custom fields, and per-subscriber engagement stats. Returns a per-subscription entry plus a not_found list. For a single subscriber use get_subscription.

Get Survey

Get a survey's details including questions, options, and aggregate response data

Get Tier

Get a tier's details by tier ID

Get Website Analytics

Get the high-level website analytics overview for a publication. For an exact window such as the days a chart selection covers, pass start_date and end_date: each metric's previous_total then covers the same number of days immediately before.

Get Website Analytics Breakdown

Get a ranked website analytics breakdown grouped by dimension. The `data` block is keyed by the underlying metric (e.g. `data.page_views` or `data.sessions`).

Get Website Analytics Conditions Schema

Get the schema for website analytics conditions, used to build the conditions parameter for website analytics tools.

Get Workspace

Get details about the current workspace, including its name, plan, default address, subscriber limit, creation date, and upcoming plan changes.

Learn Community Authoring

Learn the HTML contract for authoring community posts and comments with save_community_post, schedule_community_post and save_community_post_comment. Returns every supported node and mark with example HTML, plus the resource types a post can embed. Community content is deliberately simpler than newsletter posts: paragraphs, headings, lists, quotes, basic marks, images, emoji, member mentions, and link cards.

Learn Page Authoring

For an advanced builder site. A website builder site has no node tree to write - it takes `overrides` on save_page_content and save_site_global, whose descriptions list every type and attr it stores. The raw node contract behind `save_page_content`, in native Tiptap JSON - the exact shape it writes, so every example pastes straight into an operation. It is generated from the dream-editor Tiptap schema dump, so it cannot drift from the editor. This is the escape hatch, and the reference for a patch path. Compose from the primitives and recipes instead (learn_site_design topic: 'composition', if not already in your context); they derive the mechanics from the publication's brand so you write the idea, not the expansion. Reach here for a design the builders cannot express, or to look up an attribute you are patching. No args returns a TOC of every node and mark with attribute names, plus the list of page_categories. Pass `node: <name>` for the full attribute table, or `category: <value>` (e.g. 'home', 'authors-show') for that page's required dynamic nodes, which auto-fill with live data, its record_bindings, the `attrs.mergeTag` values that bind ordinary nodes to the record a dynamic page renders, and a worked example derived from the editor's own default content. Drop a binding and the page keeps rendering, showing your placeholder copy on every record. Post page popups (contentGatePopup, emailCapturePopup) are not in content[]: pass `node` for how to read and edit them.

Learn Page Metadata

Reference for the page metadata accepted by `edit_page` - name, visibility, paywall, the SEO/social-card `metadata` object, and the layout `customization` object.

Learn Post Authoring

Learn the canonical HTML contract used by `save_post` and `edit_post_content` for a specific publication. Returns a TOC of every node and mark with example HTML and attribute names, plus the publication's valid merge tags ({{tag_name}} patterns) - enough to start writing without follow-up calls. Pass `node: <name>` for that node's parseHTML rules and full attribute table. Plan-gated widgets carry an `available` flag reflecting this publication's plan. Authorable ad network nodes include an example and placement instructions. Non-authorable nodes return a `note` and a null `example`: forbidden nodes are rejected on save, while other editor-managed widgets are accepted but will not render as authored - author those in the beehiiv editor. For typed config (recipients, web/email/SEO settings, content tags) call `learn_post_metadata` instead.

Learn Post Metadata

Reference for the typed config accepted by `save_post` (on create) and `edit_post` (on edit) — recipients, web/email/seo settings, content tags, and other top-level options. Mirrors the public Create/Update Post endpoints. For HTML/content shape, call `learn_post_authoring` instead.

Learn Site Design

Design intelligence for building beautiful beehiiv site pages - read overview first, then topic deep-dives; content is generated from the template-builder's rulebook and knowledge base.

Community-Feedback

0 Likes·– Ø Bewertung

Melde dich mit deinem B-Bot-Account an, um zu liken oder zu bewerten.

Bewertungen

Noch keine Bewertungen. Sei die erste Person mit Feedback.