Reference · Guides

Send articles to Beehiiv

Wire a publication to your own Beehiiv newsletter once, then turn any article into an email-safe Beehiiv draft per article, on demand. Esy never sends email — you review and send inside Beehiiv, so a daily publishing cadence never blasts your subscribers.

Before you start

  • A publication in Compose (any publication works — the newsletter channel is independent of the web destination, so even a publication with no website qualifies).
  • A Beehiiv account with an API key and your Beehiiv publication id (pub_…) — both in the Beehiiv dashboard under Settings → API.
Check your Beehiiv plan first

Beehiiv gates its create-post API by plan tier (Enterprise, in beta on their side). Connecting and verifying work on any plan; creating drafts requires a plan that includes API post creation. If yours doesn’t, the draft step returns exactly that message.

Steps

  1. Connect Beehiiv to the publication

    In Compose, open your publication → Connect tab → Newsletter (Beehiiv). Paste your Beehiiv publication id and API key, then hit Connect Beehiiv. The key is encrypted at rest and never shown again — you can replace it later, but not read it back.

  2. Verify the connection

    Click Verify. Esy makes a live round-trip to Beehiiv with your stored key — success shows your newsletter’s name; failure tells you precisely what’s wrong (bad key, wrong publication id, unreachable).

  3. Write and file an article

    Author normally in Compose and file the article into the connected publication in Details. Publishing to the web stays exactly as before — and never emails anyone.

  4. Create the Beehiiv draft

    In the editor’s Details panel, a Newsletter section appears (only for connected publications). Click Send to newsletter…, set the subject line (prefilled from the title) and preview text, and hit Create Beehiiv draft.

  5. Review and send in Beehiiv

    The section flips to Draft created with a Review & send in Beehiiv link. Open the draft in Beehiiv, check the rendering, pick your audience, and send from there — that final step always stays in Beehiiv.

What the draft contains

Esy transforms the article into email-safe body HTML and Beehiiv wraps it in your newsletter’s own template. The notable degradations:

In the articleIn the email
Text, headings, lists, quotes, linksRendered normally (escaped; only web/mailto links kept).
ImagesKept — constrained to the email column width.
VideoA thumbnail linking to the published article (inboxes can’t play video).
CitationsNumbered [n] references plus a Sources list at the end.

Doing it over the API

The Compose UI is a thin layer over one endpoint — pipelines can create drafts directly. Subject falls back to the stored value, then the article title; whatever is used persists on the document for the next draft.

create a draftjson
POST /v1/documents/{documentId}/newsletter/draft
{
  "subject": "How to get started with AI",
  "previewText": "A practical on-ramp — no jargon, no math."
}

// 200
{
  "status": "draft",
  "beehiivPostId": "post_8f0c2a1e-…",
  "draftedAt": "2026-07-03T14:02:11.004Z",
  "reviewUrl": "https://app.beehiiv.com/posts"
}

Troubleshooting

SymptomCause & fix
Verify fails with a 401 messageBeehiiv rejected the API key — re-copy it from Beehiiv Settings → API and use Replace key.
Verify fails with a 404 messageThe publication id doesn’t belong to that key. Check you copied the pub_… id from the same Beehiiv workspace as the key.
Draft creation says it may not be available on this planBeehiiv’s create-post API is plan-gated (Enterprise). Connect/verify still work; upgrade the Beehiiv plan to create drafts via API.
No Newsletter section in the Details panelThe article isn’t filed into a publication with a Beehiiv connection — file it in Details, and connect Beehiiv in the publication’s Connect tab.
Video shows as an image in the emailExpected — email clients can’t play video, so it degrades to a poster linking to the article (or Mux’s hosted player for newsletter-only publications).

For the integration model, security posture, and full endpoint list, see the Beehiiv integration reference.