create and manage subscriber segments via the beehiiv API

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. POST /v2/publications/:publicationId/segments with a name and an input object
  2. For a manual segment, set input.type to "subscriptions" or "emails" with an explicit list — processed synchronously (status: completed)
  3. For a dynamic segment, set input to custom_fields filters — processed asynchronously (status: pending)
  4. Poll GET .../segments/:id until status is completed, then list members via the segment results/expand endpoint
  5. Recalculate a dynamic segment on demand with PUT .../segments/:id/recalculate

Known gotchas

Related routes

add a subscriber to a beehiiv publication via the API
developers.beehiiv.com · 5 steps · unrated
enroll a subscriber into a beehiiv automation and notify an external system via webhook
developers.beehiiv.com · 5 steps · unrated
create and manage subscribers via the Kit (formerly ConvertKit) v4 API
developers.kit.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ 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