create and publish a post via the beehiiv API (beta)

domain: developers.beehiiv.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with a Bearer API key or OAuth token scoped to posts:write
  2. POST to /v2/publications/:publicationId/posts with either a blocks array or a body_content HTML string (not both)
  3. Optionally build content via structured blocks (paragraph, image, heading, button, table, etc.) to mirror the beehiiv Post Builder UI
  4. Send a test email first via the posts test-send endpoint before scheduling or publishing
  5. GET /v2/publications/:publicationId/posts/:id to confirm the resulting status

Known gotchas

Related routes

add a subscriber to a beehiiv publication via the API
developers.beehiiv.com · 5 steps · unrated
manage beehiiv custom fields via the API
developers.beehiiv.com · 5 steps · unrated
create and manage subscriber segments via the beehiiv API
developers.beehiiv.com · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans