Skip to content
beehiiv logo

Connectors / Marketing · HTTP Connector

Automate beehiiv with Tray.ai

Create a subscription, create a post and create a segment in beehiiv, and start a workflow when beehiiv sends “Post sent”.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

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.

Step 1

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.

Step 2

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.

Step 3

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.

Step 4

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.

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.

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

developers.beehiiv.com

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.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.