Build it
What do you want OpenAI and Beehiiv to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with OpenAI and Beehiiv
Triggers and actions 13 triggers · 112 actions
Trigger
New batchList your organization's batches.
Trigger
New fileReturns a list of files.
Trigger
New modelLists the currently available models.
Trigger
New vector storeReturns a list of vector stores.
Trigger
New videoList recently generated videos for the current project.
Action
Cancel batchCancels an in-progress batch.
Action
Cancel runCancels a run that is in_progress.
Action
Cancel vector store file batchCancel a vector store file batch.
Action
Content moderationClassifies text for hate, harassment, self-harm, sexual, and violence categories using the Moderations API.
Action
Count input tokensReturns input token counts of the request.
Action
Create assistantCreate an assistant with a model and instructions.
Action
Create chat completionSends a list of chat messages to a model via the Chat Completions API and returns the assistant's reply.
Action
Create completionCreates a completion for the provided prompt and parameters.
Action
Create embeddingGenerates a vector embedding for input text using an embeddings model (e.g. text-embedding-3-small).
Action
Create messageCreate a message.
Action
Create runCreate a run.
Action
Creates and executes a batch from an uploaded file of requestsCreates and executes a batch from an uploaded file of requests
Action
Create threadCreate a thread.
Action
Create thread and runCreate a thread and run it in one request.
Action
Create vector storeCreate a vector store.
Action
Create vector store fileCreate a vector store file by attaching a File to a vector store.
Action
Create vector store file batchCreate a vector store file batch.
Action
Create video edit jobCreate a new video generation job by editing a source or existing generated video.
Action
Create video extensionCreate an extension of a completed video.
Action
Create video generation jobCreate a new video generation job from a prompt and optional reference assets.
Action
Create video remixCreate a remix of a completed video using a refreshed prompt.
Action
Delete assistantDelete an assistant.
Action
Delete eval runDelete an eval run.
Action
Delete fileDelete a file and remove it from all vector stores.
Action
Delete messageDeletes a message.
Action
Delete threadDelete a thread.
Action
Delete vector storeDelete a vector store.
Action
Delete vector store fileDelete a vector store file (removes from store, file itself not deleted).
Action
Delete videoPermanently delete a completed or failed video and its stored assets.
Action
Download video contentDownload the generated video bytes or a derived preview asset.
Action
Edit imageCreates an edited or extended image given one or more source images and a prompt.
Action
Generate imageGenerates an image from a text prompt using gpt-image-1 / DALL-E and returns the image URL or base64 data.
Action
Generate speechConverts text into spoken audio using a TTS model and the selected voice. Returns audio bytes.
Action
Get assistantRetrieves an assistant.
Action
Get batchRetrieves a batch.
Action
Get fileReturns information about a specific file.
Action
Get file contentReturns the contents of the specified file.
Action
Get messageRetrieve a message.
Action
Get modelRetrieves a model instance.
Action
Get runRetrieves a run.
Action
Get run stepRetrieves a run step.
Action
Get threadRetrieves a thread.
Action
Get vector storeRetrieves a vector store.
Action
Get vector store fileRetrieves a vector store file.
Action
Get vector store file batchRetrieves a vector store file batch.
Action
Get vector store file contentRetrieve the parsed contents of a vector store file.
Action
Get videoFetch the latest metadata for a generated video.
Action
List conversation itemsList all items for a conversation with the given ID.
Action
List filesLists files that have been uploaded to your OpenAI account.
Action
List messagesReturns a list of messages for a given thread.
Action
List modelsLists the models currently available to your account.
Action
List runsReturns a list of runs belonging to a thread.
Action
List run stepsReturns a list of run steps belonging to a run.
Action
List vector store file batch filesReturns a list of vector store files in a batch.
Action
List vector store filesReturns a list of vector store files.
Action
OpenAI agent messageRuns one AI agent turn on OpenAI and returns the model's reply. The turn is billed to the OpenAI account connected on this step, and the agent can call the account's AI tool automations.
Action
Retrieve responseRetrieves a previously created model response by its Response ID.
Action
Search vector storeSearch a vector store for relevant chunks based on a query and filter.
Action
Send model a messageSends a message to an OpenAI model via the Responses API and emits its response. Returns a Response ID usable as previous_response_id for multi-turn conversations.
Action
Submit tool outputs to runSubmit tool outputs when a run requires action.
Action
Transcribe audioTranscribes audio into the input language.
Action
Translate audioTranslates audio into English.
Action
Update assistantModifies an assistant.
Action
Update messageModifies a message.
Action
Update runModifies a run.
Action
Update threadModifies a thread.
Action
Update vector storeModifies a vector store.
Action
Update vector store file attributesUpdate attributes on a vector store file.
Action
Upload fileUpload a file that can be used across various endpoints.
Trigger
List automationspoll for automations; new automations surface over time (trigger).
Trigger
List newsletter listspoll newsletter lists; new lists surface over time (trigger).
Trigger
List pollspoll for polls; new polls surface over time (trigger).
Trigger
List segment subscriber IDspoll subscriber IDs in a segment; new IDs surface over time (trigger).
Trigger
List segment subscriberspoll subscribers in a segment; new members surface over time (trigger).
Trigger
List tierspoll subscription tiers; new tiers surface over time (trigger).
Trigger
New subscriber to publicationPolls Beehiiv and emits each new subscriber to the specified publication. Lists subscriptions newest-first; dedup by subscription id.
Trigger
New unsubscriber to publicationPolls Beehiiv and emits each new unsubscriber (inactive subscription) to the specified publication. Dedup by subscription id.
Action
Add subscription tagadd a tag to a subscription.
Action
Bulk create subscriptioncreate multiple subscriptions in a single bulk request.
Action
Create custom fieldcreate a new custom field.
Action
Create newsletter listcreate a new newsletter list.
Action
Create segmentcreate a new segment.
Action
Create subscriptionCreates a new subscriber on a publication. Sets email plus optional custom fields, UTM attribution, and referral source.
Action
Delete custom fielddelete a custom field.
Action
Delete newsletter listdelete a newsletter list.
Action
Delete segmentdelete a segment.
Action
Delete subscriptionRemove a subscriber from a publication.
Action
Get aggregate statsget aggregate statistics across posts.
Action
Get authorget details for a specific author.
Action
Get custom fieldget details for a specific custom field.
Action
Get newsletter listget details for a specific newsletter list.
Action
Get newsletter list subscriptionget details for a newsletter list subscription.
Action
Get postRetrieve a single post by ID. Returns content, stats, and publish status.
Action
Get post templatesget available post templates for a publication.
Action
Get publicationget details for a specific publication.
Action
Get publication engagementsget aggregate engagement stats for a publication.
Action
Get publications by subscription emailget publications associated with a subscriber email.
Action
Get referral programget referral program details for a publication.
Action
Get segmentget details for a specific segment.
Action
Get subscription by emailRetrieve a single subscription by email address. Returns the subscriber's status, tier, and custom fields.
Action
Get subscription by IDget details for a subscription by its ID.
Action
Get subscription updateget a specific bulk subscription update record.
Action
Identify userget current OAuth user info.
Action
Identify workspaceget current workspace info.
Action
List authorslist all authors for a publication.
Action
List complimentary accesslist free access grants for a publication.
Action
List condition setslist all condition sets for a publication.
Action
List custom fieldsList a publication's subscriber custom fields. Returns field names and types for mapping.
Action
List postsList posts for a publication. Returns posts with status, audience, and publish metadata.
Action
List publicationsList the publications on the account. Returns each publication's id, name, and settings — the entry point for resolving a publication id.
Action
List segmentsList segments for a publication. Returns segment ids, names, and types for audience targeting.
Action
List subscriptionsList subscriptions for a publication. Returns subscribers with status, tier, and custom fields, supports filtering/pagination.
Action
List subscription updateslist bulk subscription update records.
Action
Recalculate segmentrecalculate segment membership.
Action
Update a tierupdate an existing tier.
Action
Update custom fieldupdate an existing custom field.
Action
Update subscription by emailUpdate an existing subscriber identified by email. Changes tier, status, or custom fields.
Action
Update subscription by IDupdate a subscription by its ID.
Action
Update subscriptionsupdate multiple subscriptions at once.
Action
Update subscriptions' statusbulk update subscription status.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.