Connectors / Marketing · HTTP Connector
beehiiv integration and API
Create a subscription, create a post and create a segment in beehiiv, and start a workflow when beehiiv sends “Post sent”.
What can you do with beehiiv on Tray.ai?
beehiiv is a newsletter platform for writing and sending posts, growing a subscriber list, running paid tiers, and earning from ads. Tray.ai connects to beehiiv through the HTTP Connector, so your workflows can call the beehiiv API alongside the rest of your stack.
- When beehiiv sends “Subscription confirmed”, add the reader as a contact in your CRM.
- Create a subscription for each customer who opts in to the newsletter at checkout in your store.
- When beehiiv sends “Subscription upgraded”, record the paid tier in your billing system.
- When beehiiv sends “Post sent”, share the post link with the marketing team in your team chat.
- Connects through
- HTTP Connector
- Authentication
- A bearer token or OAuth 2.0
- Base URL
- https://api.beehiiv.com/v2
Set it up
Connect beehiiv to Tray.ai
Each step uses beehiiv's own API details, from its documentation.
Save beehiiv's API token
Save the token beehiiv issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.beehiiv.com/v2 as the base URL. Or paste a cURL example from beehiiv's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List subscriptions”
It's one of 27 documented actions, under Subscriptions. The response comes back as data the next step can map into your other apps.
Start workflows from beehiiv events
Give beehiiv the URL of a Tray.ai webhook trigger. “Post sent” can then start a workflow, and so can 8 other events.
Workflows to build with beehiiv
Connect beehiiv with HubSpot and Slack
Each one uses actions and events from beehiiv's own API documentation.
Add HubSpot contacts to beehiiv when they opt in
When
A contact opts in to the newsletter in HubSpot
Then
- Create a subscription in beehiiv with the contact's email
- Add a subscription tag in beehiiv for the lead source
With HubSpot
Update HubSpot when a beehiiv reader upgrades
When
Subscription upgraded
Then
- Get a subscription in beehiiv for the reader's tier
- Update the contact in HubSpot with the paid tier
With HubSpot
Share each sent beehiiv post in Slack
When
Post sent
Then
- Get a post in beehiiv for the title and link
- Post the link to the marketing channel in Slack
With Slack
Apps you can build on beehiiv data
Internal tools your team can build with an AI assistant, each one using beehiiv calls from its API documentation.
Subscriber lookup
Finds a subscriber and lets support change their tier, add a tag or remove them.
Newsletter performance board
Lists sent posts and paid tier upgrades and downgrades so editors see what grows the list.
Segment explorer
Lists segments and their subscribers and lets a marketer add people to an automation.
beehiiv MCP server for AI agents
Build an MCP server on beehiiv in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- List subscriptions
- List posts
- List segments
- List custom fields
- List automations
- List newsletter lists
- Get a subscription
- Create a subscription
What the beehiiv API covers
6 resources and 27 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how. New to APIs? Read what an API integration is.
Subscriptions
- List subscriptions
- Get a subscription
- Create a subscription
- Update a subscription
- Delete a subscription
- Add a subscription tag
Posts
- List posts
- Get a post
- Create a post
- Update a post
- Delete a post
Segments
- List segments
- Get a segment
- Create a segment
- List segment subscribers
- Delete a segment
Custom fields
- List custom fields
- Create a custom field
- Update a custom field
- Delete a custom field
Automations
- List automations
- Get an automation
- Add a subscription to an automation
Newsletter lists
- List newsletter lists
- Create a newsletter list
- Update a newsletter list
- Delete a newsletter list
Events beehiiv can send to a Tray.ai webhook trigger
- Post sent
- Post updated
- Post scheduled
- Subscription created
- Subscription confirmed
- Subscription deleted
- Subscription upgraded
- Subscription downgraded
- Survey response submitted
Checked against beehiiv's own documentation on 2026-10-22
How Tray.ai makes this work
beehiiv plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in beehiiv, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose beehiiv actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on beehiiv data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore marketing apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every marketing connector →
Frequently asked questions
What can a Tray.ai workflow do in beehiiv?
The beehiiv API documents 27 actions across 6 resources (Subscriptions, Posts, Segments, Custom fields, Automations, Newsletter lists). For example: List subscriptions; List posts; List segments. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with beehiiv?
The beehiiv API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which beehiiv events can start a Tray.ai workflow?
beehiiv sends 9 events to a webhook URL, for example: Post sent; Post updated; Post scheduled; Subscription created; Subscription confirmed; Subscription deleted; Subscription upgraded; Subscription downgraded. A Tray.ai webhook trigger receives them and starts a workflow.
See beehiiv working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.