opencode

Connect OpenCode to beehiiv

Run OpenCode as a hosted agent in NoClick with beehiiv wired into its tools handle. It can use beehiiv directly while it works. No glue code, nothing to install. Click below to open a ready-to-run agent and connect your account.

Loading preview…
Opens a workflow with 36 tools ready to use.

Tools OpenCode gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

beehiiv

36 tools
List Publications

List all publications associated with the API key.

Get Publication

Retrieve a single publication.

List Subscriptions

List all subscriptions for a publication.

Create Subscription

Add a new subscriber to a publication.

Get Subscription by Email

Look up a subscriber by email address.

Get Subscription

Retrieve a single subscription by its prefixed ID.

Update Subscription

Update a subscriber's tier, custom fields, or status.

Delete Subscription

Remove a subscriber from the publication.

Bulk Create Subscriptions

Import many subscribers in one async job.

Add Subscription Tag

Attach tags to a subscriber.

List Posts

List newsletter posts for a publication.

Get Post

Retrieve a single post.

Create Post

Create a draft/scheduled post for a publication.

Update Post

Update an existing post's content or scheduling.

Delete Post

Delete a post.

Get Post Stats

Retrieve open/click/engagement stats for a post.

List Segments

List all segments for a publication.

Get Segment

Retrieve a single segment.

List Segment Subscribers

List subscribers matching a segment.

Delete Segment

Delete a segment.

List Custom Fields

List custom subscriber fields.

Create Custom Field

Define a new custom field on subscribers.

Delete Custom Field

Delete a custom subscriber field.

List Automations

List automation flows for a publication.

Get Automation

Retrieve a single automation by ID.

Add Subscriber to Automation

Enroll a subscriber into an automation journey.

List Tiers

List paid subscription tiers.

Get Referral Program

Retrieve referral program milestones/rewards.

List Newsletter Lists

List newsletter lists (multi-list feature, beta).

List Polls

List polls and their responses.

Get Poll

Retrieve a single poll.

Get Poll Responses

List responses for a poll.

Get Webhook

Retrieve a single webhook endpoint.

List Webhooks

List configured webhook endpoints.

Create Webhook

Subscribe an endpoint URL to event types.

Delete Webhook

Remove a webhook subscription.

About OpenCode

OpenCode is an open, model-agnostic command-line coding agent. In NoClick it runs hosted and gains your apps as tools, so it can act on real systems rather than just edit files. Wire an integration into the agent and OpenCode can use that app’s operations directly while it works. It is a flexible choice when you want an open agent with broad model support and real tool access.

Open and model-agnostic
Flexible across many underlying models
Good general-purpose tool use
Lightweight to point at a focused task

Frequently asked questions

Open your OpenCode agent in one click

NoClick runs OpenCode for you with beehiiv wired in as tools. Connect your account and run.