How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

beehiiv Posts API

The Posts API from beehiiv — 5 operation(s) for posts.

beehiiv Posts API is one of 30 APIs that beehiiv publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Posts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and 2 JSON Schemas.

This API exposes 8 operations across 5 paths, and defines 89 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://api.beehiiv.com/v2.

8 operations 5 paths 89 schemas 1 DELETE4 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.beehiiv.com/v2
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

beehiiv Posts API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuthScheme).

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 1 DELETE, 4 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Posts 8
POST
/publications/{publicationId}/posts
Create post OAuth Scope: posts:write
create 2 params body → 201400401403404429500
GET
/publications/{publicationId}/posts
List posts OAuth Scope: posts:read
index 15 params → 200400401404429500
PATCH
/publications/{publicationId}/posts/{postId}
Update post OAuth Scope: posts:write
update 3 params body → 200202400401403404429500
GET
/publications/{publicationId}/posts/{postId}
Get post OAuth Scope: posts:read
show 5 params → 200202400401404429500
DELETE
/publications/{publicationId}/posts/{postId}
Delete post OAuth Scope: posts:write
delete 3 params → 202204400401404429500
GET
/publications/{publicationId}/posts/aggregate_stats
Get aggregate stats OAuth Scope: posts:read
aggregate-stats 8 params → 200400401404429500
POST
/publications/{publicationId}/posts/{postId}/test_sends
Send test email OAuth Scope: posts
test-send 3 params body → 200400401403404422429500
GET
/publications/{publicationId}/posts/{postId}/preview
Generate post preview URL OAuth Scope: posts:read
preview 7 params → 200400401403404422429500

Schemas 89

The contract defines 89 schemas that model the data the API accepts and returns. The most detailed are type__Post (31 properties), type_posts_VisualSettings (24 properties), type__PostStatsEmail (12 properties), type_posts_PostEmailSettings (10 properties). Each schema is shown below with its type and property counts.

type__PostClickStatsWeb
object
Stats scoped only to web views. Not relevant for posts published only to email
3 properties
type_posts_ColumnVerticalAlignment
string
type_ids_ExternalRssFeedId
string
The prefixed ID of the external RSS feed.
type_posts_PostEmailCaptureTypeOverride
string
type_posts_BorderStyle
string
type_posts_ColumnPosition
string
type_posts_ReferralCondition
string
type__PostEmailRecipientsResponse
object
3 properties
type_posts_PostsListResponse
object
5 properties 5 required
type_posts_PostsCreateResponse
object
1 property 1 required
type__PostRecipientsResponse
object
The targeting configuration currently set on the post.
2 properties
type_posts_VisualSettings
object
24 properties
type__PremiumPostContent
object
The requested premium post HTML. This HTML does not have paywalls enforced.
2 properties
type_posts_PostEmailRecipients
object
3 properties
type__PostCreate
object
2 properties 1 required
type_posts_HeadingLevel
string
The level of the header.
type__ErrorDetail
object
2 properties 2 required
type_posts_PostEmailSettings
object
10 properties
type_posts_ConditionSetOperator
string
How multiple condition sets are combined when evaluating dynamic content targeting.
type_posts_PostWebSettings
object
7 properties
type_posts_RssCtaStyle
string
The style of the call to action.
type_posts_PostMetadata
object
6 properties
type_ids_SubscriptionId
string
The prefixed ID of the subscription.
type_posts_PostsDeleteResponse
object
type_posts_PostPlatformFilter
string
type_ids_TierId
string
The prefixed ID of the tier.
type_posts_PostRecipients
object
Controls who receives the post. If omitted entirely, defaults to free tier only on both web and email. If a channel key (web or email) is provided but empty, n…
2 properties 2 required
type_posts_PostSocialShare
string
type__PostProcessingState
string
The background creation state of the post.
type__FreePostContent
object
The requested free post HTML. This HTML has paywalls enforced.
3 properties
type__PostPlatform
string
The platform that the post is or will be published to.
type_posts_ColumnBlock
object
4 properties 1 required
type__PostStatsWeb
object
Stats scoped only to web views. Not relevant for posts published only to email
2 properties
type_posts_PostExpandField
string
type_posts_PostsPreviewResponse
object
1 property 1 required
type_posts_SectionableBlock
A block that can appear inside a section. Excludes section and columns (TipTap's schema does not allow nested sections).
type_ids_PostId
string
The prefixed ID of the post.
type_ids_PollId
string
The prefixed ID of the poll.
type_ids_PublicationId
string
The prefixed ID of the publication.
type__ClickStats
object
Details about specific URL's click stats from a post.
7 properties
type_posts_PostsAggregateStatsResponseStats
object
1 property 1 required
type_posts_ParagraphBlockTextSection
object
5 properties 1 required
type_posts_PostPublishStatus
string
type_ids_PostTemplateId
string
The prefixed ID of the post template.
type__PostStatsEmail
object
Stats scoped only to email recipients. Not relevant for posts published only to web
12 properties
type_ids_PaywallId
string
The prefixed ID of the paywall.
type__Error
object
The top level error response.
3 properties 3 required
type_posts_ParagraphBlockTextStyle
string
Inline formatting to apply to a formatted text section. strikethrough renders as a strike mark.
type_posts_ContentMergeStrategy
string
Controls how provided blocks interact with the post's existing content on update.
type_posts_PostsGetResponse
object
1 property 1 required
type__PostStatus
string
The status of the post. draft - not been scheduled. confirmed - The post will be active after the scheduledat. archived - The post is no longer active.
type_posts_PostsPreviewData
object
1 property 1 required
type_posts_PostStatusFilter
string
type_posts_PostsTestSendResponse
object
1 property 1 required
type_posts_RssThumbnailPosition
string
The position of the thumbnail.
type_posts_AutomatedAdvertisementKind
string
type_ids_TeamAuthorId
string
The prefixed ID of the team author (platform user).
type_posts_ListBlockItem
A list item as either plain text or formatted text data.
type_posts_RssCtaAlignment
string
The alignment of the call to action.
type_ids_GuestAuthorId
string
The prefixed ID of the guest author.
type_posts_Block
A block in the post content.
type__PostAudience
string
The audience that the post is available to on the web. Only applicable if the platform is web or both.
type_posts_RssSelectionMode
string
How feed articles are selected, by count or time window.
type__Post
object
31 properties 18 required
type_posts_PostsAggregateStatsResponse
object
1 property 1 required
type_posts_PostOrderBy
string
type_ids_PriceId
string
The prefixed ID of the price.
type_ids_SegmentId
string
The prefixed ID of the segment.
type_posts_QuoteVariant
string
The variant of the quote block.
type__PostStats
object
Optional list of stats for a post. Retrievable by including expand: [stats] in the post request body. Note: If a timeout occurs while aggregating stats, subseq…
4 properties
type_posts_PostsListRequestHiddenFromFeed
string
type_posts_Sizes
string
The sizes of the button.
type_posts_Link
object
2 properties 1 required
type_posts_RssBlockLayout
string
The layout of the articles from the feed.
type_posts_TextAlignment
string
The text alignment of the content.
type_posts_ListBlockItemData
object
2 properties
type_posts_PostsTestSendData
object
2 properties 1 required
type_posts_PostWebRecipients
object
3 properties
type_posts_PostAudienceFilter
string
type__RequestDirection
string
The direction of the request. Defaults to asc.
type_posts_EmbeddableBlocks
A block in the post content that can be embedded within a column.
type__PostContent
object
Optional html content for a post. Retrievable by including any of expand: [freewebcontent, freeemailcontent, freersscontent, premiumwebcontent, premiumemailcon…
2 properties
type__PostProcessing
object
Returned when a Send API post is still being created in the background.
3 properties 3 required
type__PostClickStatsEmail
object
URL stats scoped only to email recipients. Not relevant for posts published only to web
5 properties
type_posts_VisibilitySettings
object
9 properties
type_posts_ListType
string
The type of list (e.g., ordered, unordered).
type_posts_TableCellData
object
5 properties
type__PostWebRecipientsResponse
object
3 properties
type__PostProcessingData
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

beehiiv-posts-api-openapi.yml Raw ↑

Other APIs beehiiv publishes across the network.

beehiiv Authorizations API
beehiiv Tokens API
beehiiv Webhooks API
beehiiv Ad Network Offers API
beehiiv Ad Network Reports API
beehiiv Advertisement Opportunities API
beehiiv Authors API
beehiiv Automation Journeys API
beehiiv Automations API
beehiiv Bulk Subscription Updates API
beehiiv Bulk Subscriptions API
beehiiv Complimentary Access API
Where this information came from

This is an independent, third-party profile of beehiiv Posts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.