beehiiv API guide

beehiiv.com

Search your beehiiv newsletter posts, review recent send performance, and see which channels bring in new subscribers.

Actions and inputs

sync

Sync publication data such as posts and subscriptions for offline review.

Inputs Resource types, optional page limit

search

Find synced newsletter posts by keyword.

Inputs Search term, posts resource type, optional result limit

insights post-performance

Review recent newsletter sends with status, timing, and performance statistics.

Inputs Publication ID, optional result limit

insights subscriber-sources

Group new subscribers by acquisition channel, campaign tags, and referring site.

Inputs Publication ID, optional result limit

Newsletter drafts

Create

Start a newsletter draft in a publication you manage without sending or publishing it.

Inputs Publication, title, draft body

Read

Open a draft and preview its email layout.

Inputs Publication, draft ID

Update

Revise a draft's subject line, preview text, or body in a publication you manage.

Inputs Publication, draft ID, revised content

Delete

Delete an unsent draft from a publication you manage; this does not recall a sent issue.

Inputs Publication, draft ID, confirmation