beehiiv
Use beehiiv API to manage newsletters, publications, posts, subscribers, automations, segments, custom fields, and reporting.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| API Key | api_key | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "BEEHIIV_AGGREGATE_STATS", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("BEEHIIV_AGGREGATE_STATS", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute BEEHIIV_AGGREGATE_STATS --data '{ }'Tool catalog
Available tools
84 callable operations
Get aggregate stats <Badge intent="info" minimal outlined>OAuth Scope: posts:read</Badge>BEEHIIV_AGGREGATE_STATSRetrieve aggregate stats for all postsConnection
Retrieve aggregate stats for all posts
Authentication
Connected account requiredTags
Add subscription to an automation <Badge intent="info" minimal outlined>OAuth Scope: automations:write</Badge>BEEHIIV_CREATEAdd an existing subscription to an automation flow. Requires the automation to have an active *Add by API* trigger. The specified `email` or `subscription_id` will be matched against your existing subscribers. If an existing subscriber is found, they will be enrolled immediately. Looking to enroll new subscribers? Use the **[Create Subscription](/api-reference/subscriptions/create)** endpoint instead and specify the `automation_ids` param.Connection
Add an existing subscription to an automation flow. Requires the automation to have an active *Add by API* trigger. The specified `email` or `subscription_id` will be matched against your existing subscribers. If an existing subscriber is found, they will be enrolled immediately. Looking to enroll new subscribers? Use the **[Create Subscription](/api-reference/subscriptions/create)** endpoint instead and specify the `automation_ids` param.
Authentication
Connected account requiredTags
Delete custom field <Badge intent="info" minimal outlined>OAuth Scope: custom_fields:write</Badge>BEEHIIV_DELETEDelete a custom field from a publication.Connection
Delete a custom field from a publication.
Authentication
Connected account requiredTags
Delete newsletter list <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:write</Badge>BEEHIIV_DELETE_PUBLICATIONS_PUBLICATION_ID_NEWSLETTER_LISTS_NEWSLETTER_LIST_ID<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Delete a newsletter list belonging to a specific publication.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Delete a newsletter list belonging to a specific publication.
Authentication
Connected account requiredTags
Delete post <Badge intent="info" minimal outlined>OAuth Scope: posts:write</Badge>BEEHIIV_DELETE_PUBLICATIONS_PUBLICATION_ID_POSTS_POST_IDDelete or Archive a post. Any post that has been confirmed will have it's status changed to `archived`. Posts in the `draft` status will be permanently deleted.Connection
Delete or Archive a post. Any post that has been confirmed will have it's status changed to `archived`. Posts in the `draft` status will be permanently deleted.
Authentication
Connected account requiredTags
Delete segment <Badge intent="info" minimal outlined>OAuth Scope: segments:write</Badge>BEEHIIV_DELETE_PUBLICATIONS_PUBLICATION_ID_SEGMENTS_SEGMENT_IDDelete a segment. Deleting the segment does not effect the subscriptions in the segment.Connection
Delete a segment. Deleting the segment does not effect the subscriptions in the segment.
Authentication
Connected account requiredTags
Delete subscription <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_DELETE_PUBLICATIONS_PUBLICATION_ID_SUBSCRIPTIONS_SUBSCRIPTION_ID<Warning>This cannot be undone. All data associated with the subscription will also be deleted. We recommend unsubscribing when possible instead of deleting. If a premium subscription is deleted they will no longer be billed.</Warning> Deletes a subscription.Connection
<Warning>This cannot be undone. All data associated with the subscription will also be deleted. We recommend unsubscribing when possible instead of deleting. If a premium subscription is deleted they will no longer be billed.</Warning> Deletes a subscription.
Authentication
Connected account requiredTags
Delete a webhook <Badge intent="info" minimal outlined>OAuth Scope: webhooks:write</Badge>BEEHIIV_DELETE_PUBLICATIONS_PUBLICATION_ID_WEBHOOKS_ENDPOINT_IDDelete a webhook subscription from a publication.Connection
Delete a webhook subscription from a publication.
Authentication
Connected account requiredTags
List segment subscriber IDs <Badge intent="info" minimal outlined>OAuth Scope: segments:read</Badge>BEEHIIV_EXPAND_RESULTSList subscriber IDs for a segment. Returns a lightweight array of subscription IDs only, without additional subscriber details. **Use this endpoint when you only need subscriber IDs** (e.g., for counting, ID-based lookups, or integrations with external systems). If you need full subscriber details (email, status, custom fields, etc.), use `/segments/{segmentId}/members` instead.Connection
List subscriber IDs for a segment. Returns a lightweight array of subscription IDs only, without additional subscriber details. **Use this endpoint when you only need subscriber IDs** (e.g., for counting, ID-based lookups, or integrations with external systems). If you need full subscriber details (email, status, custom fields, etc.), use `/segments/{segmentId}/members` instead.
Authentication
Connected account requiredTags
Get subscription by email <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:read</Badge>BEEHIIV_GET_BY_EMAIL<Info>Please note that this endpoint requires the email to be URL encoded. Please reference your language's documentation for the correct method of encoding.</Info> Retrieve a single subscription belonging to a specific email address in a specific publication.Connection
<Info>Please note that this endpoint requires the email to be URL encoded. Please reference your language's documentation for the correct method of encoding.</Info> Retrieve a single subscription belonging to a specific email address in a specific publication.
Authentication
Connected account requiredTags
Get subscription by ID <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:read</Badge>BEEHIIV_GET_BY_ID<Info>In previous versions of the API, another endpoint existed to retrieve a subscription by the subscriber ID. This endpoint is now deprecated and will be removed in a future version of the API. Please use this endpoint instead. The subscription ID can be found by exporting a list of subscriptions either via the `Settings > Publications > Export Data` or by exporting a CSV in a segment.</Info> Retrieve a single subscription belonging to a specific publication.Connection
<Info>In previous versions of the API, another endpoint existed to retrieve a subscription by the subscriber ID. This endpoint is now deprecated and will be removed in a future version of the API. Please use this endpoint instead. The subscription ID can be found by exporting a list of subscriptions either via the `Settings > Publications > Export Data` or by exporting a CSV in a segment.</Info> Retrieve a single subscription belonging to a specific publication.
Authentication
Connected account requiredTags
List publications <Badge intent="info" minimal outlined>OAuth Scope: publications:read</Badge>BEEHIIV_GET_PUBLICATIONSRetrieve all publications associated with your API key.Connection
Retrieve all publications associated with your API key.
Authentication
Connected account requiredTags
Get publication <Badge intent="info" minimal outlined>OAuth Scope: publications:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_IDRetrieve a single publicationConnection
Retrieve a single publication
Authentication
Connected account requiredTags
List authorsBEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_AUTHORSRetrieve a list of authors available for the publication.Connection
Retrieve a list of authors available for the publication.
Authentication
Connected account requiredTags
List automations <Badge intent="info" minimal outlined>OAuth Scope: automations:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_AUTOMATIONSRetrieve automations for a publication.Connection
Retrieve automations for a publication.
Authentication
Connected account requiredTags
Get automation <Badge intent="info" minimal outlined>OAuth Scope: automations:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_AUTOMATIONS_AUTOMATION_IDRetrieve a single automation for a publication.Connection
Retrieve a single automation for a publication.
Authentication
Connected account requiredTags
List automation journeys <Badge intent="info" minimal outlined>OAuth Scope: automations:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_AUTOMATIONS_AUTOMATION_ID_JOURNEYSRetrieve a list of automation journeys that have occurred within a specific automation.Connection
Retrieve a list of automation journeys that have occurred within a specific automation.
Authentication
Connected account requiredTags
Get automation journey <Badge intent="info" minimal outlined>OAuth Scope: automations:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_AUTOMATIONS_AUTOMATION_ID_JOURNEYS_AUTOMATION_JOURNEY_IDRetrieve a single automation journey by ID.Connection
Retrieve a single automation journey by ID.
Authentication
Connected account requiredTags
List subscription updates <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_BULK_SUBSCRIPTION_UPDATESReturns a list of Subscription Update objects for a publication.Connection
Returns a list of Subscription Update objects for a publication.
Authentication
Connected account requiredTags
Get subscription update <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_BULK_SUBSCRIPTION_UPDATES_IDReturns a single Subscription Update object for a publication.Connection
Returns a single Subscription Update object for a publication.
Authentication
Connected account requiredTags
List complimentary access <Badge intent="info" minimal outlined>OAuth Scope: complimentary_access:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_COMPLIMENTARY_ACCESSRetrieve all complimentary access objects belonging to a specific publication.Connection
Retrieve all complimentary access objects belonging to a specific publication.
Authentication
Connected account requiredTags
Get complimentary access <Badge intent="info" minimal outlined>OAuth Scope: complimentary_access:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_COMPLIMENTARY_ACCESS_COMPLIMENTARY_ACCESS_IDRetrieve a single complimentary access object belonging to a specific publication.Connection
Retrieve a single complimentary access object belonging to a specific publication.
Authentication
Connected account requiredTags
List condition sets <Badge intent="info" minimal outlined>OAuth Scope: condition_sets:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_CONDITION_SETSRetrieve all active condition sets for a publication. Condition sets define reusable audience segments for targeting content to specific subscribers. Use the `purpose` parameter to filter by a specific use case.Connection
Retrieve all active condition sets for a publication. Condition sets define reusable audience segments for targeting content to specific subscribers. Use the `purpose` parameter to filter by a specific use case.
Authentication
Connected account requiredTags
Get condition set <Badge intent="info" minimal outlined>OAuth Scope: condition_sets:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_CONDITION_SETS_CONDITION_SET_IDRetrieve a single active dynamic content condition set for a publication. Use `expand[]=stats` to calculate and return the active subscriber count synchronously.Connection
Retrieve a single active dynamic content condition set for a publication. Use `expand[]=stats` to calculate and return the active subscriber count synchronously.
Authentication
Connected account requiredTags
List custom fields <Badge intent="info" minimal outlined>OAuth Scope: custom_fields:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_CUSTOM_FIELDSList all custom fields on a publication.Connection
List all custom fields on a publication.
Authentication
Connected account requiredTags
Get custom field <Badge intent="info" minimal outlined>OAuth Scope: custom_fields:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_CUSTOM_FIELDS_IDView a specific custom field on a publication.Connection
View a specific custom field on a publication.
Authentication
Connected account requiredTags
List data deletion requests <Badge intent="info" minimal outlined>OAuth Scope: data_deletion:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_DATA_PRIVACY_DELETION_REQUESTS<Warning>This is a gated feature that requires enablement. Contact support to enable Data Deletion API access for your organization.</Warning> List all data deletion requests for your organization. API keys restricted to specific publications cannot access this endpoint and will receive a 403 response, since deletion requests apply to the entire workspace.Connection
<Warning>This is a gated feature that requires enablement. Contact support to enable Data Deletion API access for your organization.</Warning> List all data deletion requests for your organization. API keys restricted to specific publications cannot access this endpoint and will receive a 403 response, since deletion requests apply to the entire workspace.
Authentication
Connected account requiredTags
Get data deletion request <Badge intent="info" minimal outlined>OAuth Scope: data_deletion:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_DATA_PRIVACY_DELETION_REQUESTS_ID<Warning>This is a gated feature that requires enablement. Contact support to enable Data Deletion API access for your organization.</Warning> Retrieve the details and current status of a specific data deletion request. API keys restricted to specific publications cannot access this endpoint and will receive a 403 response, since deletion requests apply to the entire workspace.Connection
<Warning>This is a gated feature that requires enablement. Contact support to enable Data Deletion API access for your organization.</Warning> Retrieve the details and current status of a specific data deletion request. API keys restricted to specific publications cannot access this endpoint and will receive a 403 response, since deletion requests apply to the entire workspace.
Authentication
Connected account requiredTags
Get publication engagements <Badge intent="info" minimal outlined>OAuth Scope: publications:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_ENGAGEMENTSRetrieve email engagement metrics for a specific publication over a defined date range and granularity.<br><br> By default, the endpoint returns metrics for the past day, aggregated daily. The max number of days allowed is 31. All dates and times are in UTC.Connection
Retrieve email engagement metrics for a specific publication over a defined date range and granularity.<br><br> By default, the endpoint returns metrics for the past day, aggregated daily. The max number of days allowed is 31. All dates and times are in UTC.
Authentication
Connected account requiredTags
List newsletter lists <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_NEWSLETTER_LISTS<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> List all newsletter lists for a publication.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> List all newsletter lists for a publication.
Authentication
Connected account requiredTags
Get newsletter list <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_NEWSLETTER_LISTS_NEWSLETTER_LIST_ID<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Retrieve a single newsletter list belonging to a specific publication.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Retrieve a single newsletter list belonging to a specific publication.
Authentication
Connected account requiredTags
List newsletter list subscriptions <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_NEWSLETTER_LISTS_NEWSLETTER_LIST_ID_SUBSCRIPTIONS<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> List all subscriptions for a newsletter list.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> List all subscriptions for a newsletter list.
Authentication
Connected account requiredTags
Get newsletter list subscription <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_NEWSLETTER_LISTS_NEWSLETTER_LIST_ID_SUBSCRIPTIONS_NEWSLETTER_LIST_SUBSCRIPTION_ID<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Retrieve a single newsletter list subscription.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Retrieve a single newsletter list subscription.
Authentication
Connected account requiredTags
List polls <Badge intent="info" minimal outlined>OAuth Scope: polls:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_POLLSRetrieve all polls belonging to a specific publication. Poll choices are always included. Use `expand[]=stats` to include aggregate vote counts per choice.Connection
Retrieve all polls belonging to a specific publication. Poll choices are always included. Use `expand[]=stats` to include aggregate vote counts per choice.
Authentication
Connected account requiredTags
Get poll <Badge intent="info" minimal outlined>OAuth Scope: polls:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_POLLS_POLL_IDRetrieve detailed information about a specific poll belonging to a publication. Use `expand[]=stats` for aggregate vote counts, or `expand[]=poll_responses` for individual subscriber responses.Connection
Retrieve detailed information about a specific poll belonging to a publication. Use `expand[]=stats` for aggregate vote counts, or `expand[]=poll_responses` for individual subscriber responses.
Authentication
Connected account requiredTags
Get post templates <Badge intent="info" minimal outlined>OAuth Scope: posts:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_POST_TEMPLATESRetrieve a list of post templates available for the publication.Connection
Retrieve a list of post templates available for the publication.
Authentication
Connected account requiredTags
List posts <Badge intent="info" minimal outlined>OAuth Scope: posts:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_POSTSRetrieve all posts belonging to a specific publicationConnection
Retrieve all posts belonging to a specific publication
Authentication
Connected account requiredTags
Get post <Badge intent="info" minimal outlined>OAuth Scope: posts:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_POSTS_POST_IDRetrieve a single Post belonging to a specific publicationConnection
Retrieve a single Post belonging to a specific publication
Authentication
Connected account requiredTags
Get referral program <Badge intent="info" minimal outlined>OAuth Scope: referral_program:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_REFERRAL_PROGRAMRetrieve details about the publication's referral program, including milestones and rewards.Connection
Retrieve details about the publication's referral program, including milestones and rewards.
Authentication
Connected account requiredTags
List segments <Badge intent="info" minimal outlined>OAuth Scope: segments:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_SEGMENTSRetrieve information about all segments belonging to a specific publicationConnection
Retrieve information about all segments belonging to a specific publication
Authentication
Connected account requiredTags
Get segment <Badge intent="info" minimal outlined>OAuth Scope: segments:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_SEGMENTS_SEGMENT_IDRetrieve information about a specific segment belonging to a publicationConnection
Retrieve information about a specific segment belonging to a publication
Authentication
Connected account requiredTags
List subscriptions <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_SUBSCRIPTIONSRetrieve all subscriptions belonging to a specific publication. <Info> **New**: This endpoint now supports cursor-based pagination for better performance and consistency. Use the `cursor` parameter instead of `page` for new integrations. </Info> <Warning> **Deprecation Notice**: Offset-based pagination (using `page` parameter) is deprecated and limited to 100 pages maximum. Please migrate to cursor-based pagination. See our [Pagination Guide](/welcome/pagination) for details. </Warning>Connection
Retrieve all subscriptions belonging to a specific publication. <Info> **New**: This endpoint now supports cursor-based pagination for better performance and consistency. Use the `cursor` parameter instead of `page` for new integrations. </Info> <Warning> **Deprecation Notice**: Offset-based pagination (using `page` parameter) is deprecated and limited to 100 pages maximum. Please migrate to cursor-based pagination. See our [Pagination Guide](/welcome/pagination) for details. </Warning>
Authentication
Connected account requiredTags
List tiers <Badge intent="info" minimal outlined>OAuth Scope: tiers:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_TIERSRetrieve all tiers belonging to a specific publicationConnection
Retrieve all tiers belonging to a specific publication
Authentication
Connected account requiredTags
Get tier <Badge intent="info" minimal outlined>OAuth Scope: tiers:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_TIERS_TIER_IDRetrieve a single tier belonging to a specific publicationConnection
Retrieve a single tier belonging to a specific publication
Authentication
Connected account requiredTags
List webhooks <Badge intent="info" minimal outlined>OAuth Scope: webhooks:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_WEBHOOKSRetrieve all webhooks belonging to a specific publication.Connection
Retrieve all webhooks belonging to a specific publication.
Authentication
Connected account requiredTags
Get webhook <Badge intent="info" minimal outlined>OAuth Scope: webhooks:read</Badge>BEEHIIV_GET_PUBLICATIONS_PUBLICATION_ID_WEBHOOKS_ENDPOINT_IDRetrieve a specific webhook belonging to a publication.Connection
Retrieve a specific webhook belonging to a publication.
Authentication
Connected account requiredTags
Identify workspace <Badge intent="info" minimal outlined>OAuth Scope: identify:read</Badge>BEEHIIV_GET_WORKSPACES_IDENTIFYRetrieve information about the workspace the OAuth or API token is associated with.Connection
Retrieve information about the workspace the OAuth or API token is associated with.
Authentication
Connected account requiredTags
Identify user <Badge intent="info" minimal outlined>OAuth Scope: identify:read</Badge>BEEHIIV_IDENTIFYRetrieve information about the user who authorized the OAuth access token.Connection
Retrieve information about the user who authorized the OAuth access token.
Authentication
Connected account requiredTags
Get advertisement opportunities <Badge intent="info" minimal outlined>OAuth Scope: posts:read</Badge>BEEHIIV_INDEXRetrieve a list of accepted advertisement opportunities for the publication.Connection
Retrieve a list of accepted advertisement opportunities for the publication.
Authentication
Connected account requiredTags
List automation emailsBEEHIIV_LIST_EMAILSRetrieve all emails belonging to a specific automation, including engagement statistics for each email.Connection
Retrieve all emails belonging to a specific automation, including engagement statistics for each email.
Authentication
Connected account requiredTags
List segment subscribers <Badge intent="info" minimal outlined>OAuth Scope: segments:read</Badge>BEEHIIV_LIST_MEMBERSList all members in a segment with full subscription data. Each member is returned as a subscription object containing complete subscriber information and their subscription details. Supports optional expansions for stats, custom fields, tags, referrals, and premium tiers. **Use this endpoint when you need detailed subscriber information.** If you only need subscriber IDs, use `/segments/{segmentId}/results` for a lighter-weight response.Connection
List all members in a segment with full subscription data. Each member is returned as a subscription object containing complete subscriber information and their subscription details. Supports optional expansions for stats, custom fields, tags, referrals, and premium tiers. **Use this endpoint when you need detailed subscriber information.** If you only need subscriber IDs, use `/segments/{segmentId}/results` for a lighter-weight response.
Authentication
Connected account requiredTags
List poll responses <Badge intent="info" minimal outlined>OAuth Scope: polls:read</Badge>BEEHIIV_LIST_RESPONSESRetrieve all individual subscriber responses for a specific poll with cursor-based pagination. Use this endpoint for large datasets instead of the `expand[]=poll_responses` parameter on the poll show endpoint.Connection
Retrieve all individual subscriber responses for a specific poll with cursor-based pagination. Use this endpoint for large datasets instead of the `expand[]=poll_responses` parameter on the poll show endpoint.
Authentication
Connected account requiredTags
Update subscriptions <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_PATCHBulk update multiple subscriptions fields, including status, custom fields, and tiers.Connection
Bulk update multiple subscriptions fields, including status, custom fields, and tiers.
Authentication
Connected account requiredTags
Update custom field <Badge intent="info" minimal outlined>OAuth Scope: custom_fields:write</Badge>BEEHIIV_PATCH_PUBLICATIONS_PUBLICATION_ID_CUSTOM_FIELDS_IDUpdate a custom field on a publication.Connection
Update a custom field on a publication.
Authentication
Connected account requiredTags
Update newsletter list subscription <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:write</Badge>BEEHIIV_PATCH_PUBLICATIONS_PUBLICATION_ID_NEWSLETTER_LISTS_NEWSLETTER_LIST_ID_SUBSCRIPTIONS_NEWSLETTER_LIST_SUBSCRIPTION_ID<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Update a newsletter list subscription. Currently supports unsubscribing a subscription from a newsletter list.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Update a newsletter list subscription. Currently supports unsubscribing a subscription from a newsletter list.
Authentication
Connected account requiredTags
Update post <Badge intent="info" minimal outlined>OAuth Scope: posts:write</Badge>BEEHIIV_PATCH_PUBLICATIONS_PUBLICATION_ID_POSTS_POST_ID<Note title="Currently in beta" icon="b"> This feature is currently in beta, the API is subject to change, and available only to Enterprise users.<br/><br/>To inquire about Enterprise pricing, please visit our <a href="https://www.beehiiv.com/enterprise">Enterprise page</a>. </Note> Update an existing post for a specific publication. Only the fields provided in the request body will be updated — all other fields remain unchanged. For a detailed walkthrough of content methods and working with custom HTML, see the <a href="https://www.beehiiv.com/support/article/36759164012439-using-the-send-api-and-create-post-endpoint">Using the Send API and Create Post Endpoint</a> guide. To update post content, provide either `blocks` or `body_content` (not both). If neither is provided, the existing content is preserved. The same content methods and CSS guardrails described in the create endpoint apply here.Connection
<Note title="Currently in beta" icon="b"> This feature is currently in beta, the API is subject to change, and available only to Enterprise users.<br/><br/>To inquire about Enterprise pricing, please visit our <a href="https://www.beehiiv.com/enterprise">Enterprise page</a>. </Note> Update an existing post for a specific publication. Only the fields provided in the request body will be updated — all other fields remain unchanged. For a detailed walkthrough of content methods and working with custom HTML, see the <a href="https://www.beehiiv.com/support/article/36759164012439-using-the-send-api-and-create-post-endpoint">Using the Send API and Create Post Endpoint</a> guide. To update post content, provide either `blocks` or `body_content` (not both). If neither is provided, the existing content is preserved. The same content methods and CSS guardrails described in the create endpoint apply here.
Authentication
Connected account requiredTags
Update subscription by ID <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_PATCH_PUBLICATIONS_PUBLICATION_ID_SUBSCRIPTIONS_SUBSCRIPTION_IDUpdate a single subscription.Connection
Update a single subscription.
Authentication
Connected account requiredTags
Update a tier <Badge intent="info" minimal outlined>OAuth Scope: tiers:write</Badge>BEEHIIV_PATCH_PUBLICATIONS_PUBLICATION_ID_TIERS_TIER_IDUpdate an existing tier belonging to a specific publicationConnection
Update an existing tier belonging to a specific publication
Authentication
Connected account requiredTags
Update webhook <Badge intent="info" minimal outlined>OAuth Scope: webhooks:write</Badge>BEEHIIV_PATCH_PUBLICATIONS_PUBLICATION_ID_WEBHOOKS_ENDPOINT_IDUpdate a webhook subscription for a publication.Connection
Update a webhook subscription for a publication.
Authentication
Connected account requiredTags
Update subscriptions' status <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_PATCH_STATUSBulk update subscriptions' status.Connection
Bulk update subscriptions' status.
Authentication
Connected account requiredTags
Bulk create subscription <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_BULK_SUBSCRIPTIONSCreate new subscriptions for a publication.Connection
Create new subscriptions for a publication.
Authentication
Connected account requiredTags
Create custom field <Badge intent="info" minimal outlined>OAuth Scope: custom_fields:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_CUSTOM_FIELDSCreate a custom field on a publication, for use in subscriptions.Connection
Create a custom field on a publication, for use in subscriptions.
Authentication
Connected account requiredTags
Create data deletion request <Badge intent="info" minimal outlined>OAuth Scope: data_deletion:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_DATA_PRIVACY_DELETION_REQUESTS<Warning>This is a gated feature that requires enablement. Contact support to enable Data Deletion API access for your organization.</Warning> Creates a data deletion request for a subscriber within your organization. The subscriber's data will be redacted from all publications in the organization after a 14-day safety delay. This action cannot be undone once processing begins. API keys restricted to specific publications cannot access this endpoint and will receive a 403 response, since deletion requests apply to the entire workspace.Connection
<Warning>This is a gated feature that requires enablement. Contact support to enable Data Deletion API access for your organization.</Warning> Creates a data deletion request for a subscriber within your organization. The subscriber's data will be redacted from all publications in the organization after a 14-day safety delay. This action cannot be undone once processing begins. API keys restricted to specific publications cannot access this endpoint and will receive a 403 response, since deletion requests apply to the entire workspace.
Authentication
Connected account requiredTags
Create newsletter list <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_NEWSLETTER_LISTS<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Create a new newsletter list for a publication. The list will be created with an active status. The slug will be auto-generated from the name if not provided.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Create a new newsletter list for a publication. The list will be created with an active status. The slug will be auto-generated from the name if not provided.
Authentication
Connected account requiredTags
Create newsletter list subscription <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_NEWSLETTER_LISTS_NEWSLETTER_LIST_ID_SUBSCRIPTIONS<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Subscribe a subscription to a newsletter list. Accepts either a subscription_id or email to identify the subscription.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Subscribe a subscription to a newsletter list. Accepts either a subscription_id or email to identify the subscription.
Authentication
Connected account requiredTags
Create post <Badge intent="info" minimal outlined>OAuth Scope: posts:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_POSTS<Note title="Currently in beta" icon="b"> This feature is currently in beta, the API is subject to change, and available only to Enterprise users.<br/><br/>To inquire about Enterprise pricing, please visit our <a href="https://www.beehiiv.com/enterprise">Enterprise page</a>. </Note> Create a post for a specific publication. For a detailed walkthrough including setup, testing workflows, and working with custom HTML and templates, see the <a href="https://www.beehiiv.com/support/article/36759164012439-using-the-send-api-and-create-post-endpoint">Using the Send API and Create Post Endpoint</a> guide. ## Content methods There are three ways to provide content for a post. You must provide either `blocks` or `body_content`, but not both. ### 1. Blocks Use the `blocks` field to build your post with structured content blocks such as paragraphs, images, headings, buttons, tables, and more. Each block has a `type` and its own set of properties. This method gives you fine-grained control over individual content elements and supports features like visual settings, visibility settings, and dynamic content targeting. ### 2. Raw HTML (`body_content`) Use the `body_content` field to provide a single string of raw HTML. The HTML is wrapped in an `htmlSnippet` block internally. This is useful when you have pre-built HTML content or are migrating from another platform. ### 3. HTML blocks within blocks Use `type: html` blocks inside the `blocks` array to embed raw HTML snippets alongside other structured blocks. This lets you mix structured content (paragraphs, images, etc.) with custom HTML where needed. ## CSS and styling guardrails beehiiv processes all HTML content through a sanitization pipeline. When using `body_content` or `html` blocks, be aware of the following: - **`<style>` tags are removed.** All `<style>` block elements are stripped during sanitization. Do not rely on embedded stylesheets. - **`<link>` tags are removed.** External stylesheet references are not allowed. - **Inline styles are preserved.** Styles applied directly to elements via the `style` attribute (e.g., `<div style="color: red;">`) are kept intact. - **CSS classes have no effect.** While class attributes are not stripped, no corresponding stylesheets are loaded to apply them. - **beehiiv's email template wraps your content.** Your HTML is rendered inside beehiiv's email table structure, which applies its own layout and spacing. This may affect the appearance of your content. - **Use inline styles for all visual styling.** Since `<style>` and `<link>` tags are removed, inline styles on individual elements are the only reliable way to control appearance.Connection
<Note title="Currently in beta" icon="b"> This feature is currently in beta, the API is subject to change, and available only to Enterprise users.<br/><br/>To inquire about Enterprise pricing, please visit our <a href="https://www.beehiiv.com/enterprise">Enterprise page</a>. </Note> Create a post for a specific publication. For a detailed walkthrough including setup, testing workflows, and working with custom HTML and templates, see the <a href="https://www.beehiiv.com/support/article/36759164012439-using-the-send-api-and-create-post-endpoint">Using the Send API and Create Post Endpoint</a> guide. ## Content methods There are three ways to provide content for a post. You must provide either `blocks` or `body_content`, but not both. ### 1. Blocks Use the `blocks` field to build your post with structured content blocks such as paragraphs, images, headings, buttons, tables, and more. Each block has a `type` and its own set of properties. This method gives you fine-grained control over individual content elements and supports features like visual settings, visibility settings, and dynamic content targeting. ### 2. Raw HTML (`body_content`) Use the `body_content` field to provide a single string of raw HTML. The HTML is wrapped in an `htmlSnippet` block internally. This is useful when you have pre-built HTML content or are migrating from another platform. ### 3. HTML blocks within blocks Use `type: html` blocks inside the `blocks` array to embed raw HTML snippets alongside other structured blocks. This lets you mix structured content (paragraphs, images, etc.) with custom HTML where needed. ## CSS and styling guardrails beehiiv processes all HTML content through a sanitization pipeline. When using `body_content` or `html` blocks, be aware of the following: - **`<style>` tags are removed.** All `<style>` block elements are stripped during sanitization. Do not rely on embedded stylesheets. - **`<link>` tags are removed.** External stylesheet references are not allowed. - **Inline styles are preserved.** Styles applied directly to elements via the `style` attribute (e.g., `<div style="color: red;">`) are kept intact. - **CSS classes have no effect.** While class attributes are not stripped, no corresponding stylesheets are loaded to apply them. - **beehiiv's email template wraps your content.** Your HTML is rendered inside beehiiv's email table structure, which applies its own layout and spacing. This may affect the appearance of your content. - **Use inline styles for all visual styling.** Since `<style>` and `<link>` tags are removed, inline styles on individual elements are the only reliable way to control appearance.
Authentication
Connected account requiredTags
Create segmentBEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_SEGMENTSCreate a new segment.<br><br> **Manual segments** — Use `subscriptions` or `emails` input to create a segment from an explicit list of subscription IDs or email addresses. The segment is processed synchronously and returns with `status: completed`. Net new email addresses will be ignored; create subscriptions using the `Create Subscription` endpoint.<br><br> **Dynamic segments** — Use `custom_fields` input to create a segment that filters subscribers by custom field values. The segment is processed asynchronously and returns with `status: pending`. Results will be available in the `List Segment Subscribers` endpoint after processing is complete.Connection
Create a new segment.<br><br> **Manual segments** — Use `subscriptions` or `emails` input to create a segment from an explicit list of subscription IDs or email addresses. The segment is processed synchronously and returns with `status: completed`. Net new email addresses will be ignored; create subscriptions using the `Create Subscription` endpoint.<br><br> **Dynamic segments** — Use `custom_fields` input to create a segment that filters subscribers by custom field values. The segment is processed asynchronously and returns with `status: pending`. Results will be available in the `List Segment Subscribers` endpoint after processing is complete.
Authentication
Connected account requiredTags
Create subscription <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_SUBSCRIPTIONSCreate new subscriptions for a publication.Connection
Create new subscriptions for a publication.
Authentication
Connected account requiredTags
Add subscription tag <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_SUBSCRIPTIONS_SUBSCRIPTION_ID_TAGSAdds tags to a subscription. If the tag does not exist on the publication, it will be created automatically.Connection
Adds tags to a subscription. If the tag does not exist on the publication, it will be created automatically.
Authentication
Connected account requiredTags
Create a tier <Badge intent="info" minimal outlined>OAuth Scope: tiers:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_TIERSCreate a new tier for a publication.Connection
Create a new tier for a publication.
Authentication
Connected account requiredTags
Create a webhook <Badge intent="info" minimal outlined>OAuth Scope: webhooks:write</Badge>BEEHIIV_POST_PUBLICATIONS_PUBLICATION_ID_WEBHOOKSCreate a new webhook for a given publication.Connection
Create a new webhook for a given publication.
Authentication
Connected account requiredTags
Generate post preview URL <Badge intent="info" minimal outlined>OAuth Scope: posts:read</Badge>BEEHIIV_PREVIEWGenerate a URL to preview a post as a given audience. The returned `preview_url` renders the post in the beehiiv app and requires a beehiiv session with access to the publication - it is not itself an HTML-returning endpoint.Connection
Generate a URL to preview a post as a given audience. The returned `preview_url` renders the post in the beehiiv app and requires a beehiiv session with access to the publication - it is not itself an HTML-returning endpoint.
Authentication
Connected account requiredTags
Get publications by subscription email <Badge intent="info" minimal outlined>OAuth Scope: publications:read</Badge>BEEHIIV_PUBLICATIONS_BY_SUBSCRIPTION_EMAILRetrieve all publications in the workspace that have a subscription for the specified email address. The workspace is determined by the provided API key.Connection
Retrieve all publications in the workspace that have a subscription for the specified email address. The workspace is determined by the provided API key.
Authentication
Connected account requiredTags
Update subscriptions <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_PUTBulk update multiple subscriptions fields, including status, custom fields, and tiers.Connection
Bulk update multiple subscriptions fields, including status, custom fields, and tiers.
Authentication
Connected account requiredTags
Update custom field <Badge intent="info" minimal outlined>OAuth Scope: custom_fields:write</Badge>BEEHIIV_PUT_PUBLICATIONS_PUBLICATION_ID_CUSTOM_FIELDS_IDUpdate a custom field on a publication.Connection
Update a custom field on a publication.
Authentication
Connected account requiredTags
Update subscription by ID <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_PUT_PUBLICATIONS_PUBLICATION_ID_SUBSCRIPTIONS_SUBSCRIPTION_IDUpdate a single subscription.Connection
Update a single subscription.
Authentication
Connected account requiredTags
Update a tier <Badge intent="info" minimal outlined>OAuth Scope: tiers:write</Badge>BEEHIIV_PUT_PUBLICATIONS_PUBLICATION_ID_TIERS_TIER_IDUpdate an existing tier belonging to a specific publicationConnection
Update an existing tier belonging to a specific publication
Authentication
Connected account requiredTags
Update subscriptions' status <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_PUT_STATUSBulk update subscriptions' status.Connection
Bulk update subscriptions' status.
Authentication
Connected account requiredTags
Recalculate segment <Badge intent="info" minimal outlined>OAuth Scope: segments:write</Badge>BEEHIIV_RECALCULATERecalculates a specific segment belonging to a publicationConnection
Recalculates a specific segment belonging to a publication
Authentication
Connected account requiredTags
Get authorBEEHIIV_SHOWRetrieve a single author from a publication.Connection
Retrieve a single author from a publication.
Authentication
Connected account requiredTags
Send test email <Badge intent="info" minimal outlined>OAuth Scope: posts</Badge>BEEHIIV_TEST_SENDSend a test email for a specific post to one or more email addresses. Returns the number of remaining test sends for the day and the time at which the limit resets.Connection
Send a test email for a specific post to one or more email addresses. Returns the number of remaining test sends for the day and the time at which the limit resets.
Authentication
Connected account requiredTags
Update newsletter list <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:write</Badge>BEEHIIV_UPDATE<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Update a newsletter list belonging to a specific publication.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Update a newsletter list belonging to a specific publication.
Authentication
Connected account requiredTags
Update subscription by email <Badge intent="info" minimal outlined>OAuth Scope: subscriptions:write</Badge>BEEHIIV_UPDATE_BY_EMAILUpdate a single subscription by email.Connection
Update a single subscription by email.
Authentication
Connected account requiredTags
Update newsletter list subscription by subscription ID <Badge intent="warning" minimal outlined>Beta</Badge> <Badge intent="info" minimal outlined>OAuth Scope: newsletter_lists:write</Badge>BEEHIIV_UPDATE_BY_SUBSCRIPTION_ID<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Update a newsletter list subscription by subscription ID. An alternative to the update endpoint when you don't have the newsletter list subscription ID. Accepts either a subscription_id or email to identify the subscription. Currently supports unsubscribing a subscription from a newsletter list.Connection
<Note title="Currently in beta" icon="b"> Newsletter Lists is currently in beta, the API is subject to change. </Note> Update a newsletter list subscription by subscription ID. An alternative to the update endpoint when you don't have the newsletter list subscription ID. Accepts either a subscription_id or email to identify the subscription. Currently supports unsubscribing a subscription from a newsletter list.
Authentication
Connected account requiredTags