Volver al catálogo

Beehiiv

beehiiv

Beehiiv is a newsletter platform for managing publications, subscribers, posts, automations, audience engagement, and monetization.

Acciones
11
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (11)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create Draft PostBEEHIIV_CREATE_DRAFT_POSTAcción

Create an unscheduled draft post from HTML content. This tool never confirms, publishes, schedules, or sends the post. Beehiiv creates posts asynchronously; the returned ID is stable while background creation finishes.

Parámetros de entrada

  • titlestringObligatorio

    Draft post title.

  • subtitlestring

    Optional draft subtitle.

  • web_slugstring

    Web slug saved on the draft.

  • body_htmlstringObligatorio

    Draft body as raw HTML. Beehiiv strips style and link tags, so use inline styles.

  • recipientsobject

    Optional future targeting. When supplied, both web and email audiences are required.

  • content_tagsstring[]

    Content tags to assign to the draft.

  • hide_from_feedboolean

    Whether the eventual web post should be hidden from the publication feed.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

  • post_template_idstring

    Post template ID to use as the draft base.

  • reply_to_addressstring

    Verified publication reply-to address; Beehiiv rejects unverified addresses.

  • email_preview_textstring

    Preview text saved on the draft.

  • email_subject_linestring

    Subject line saved on the draft.

  • newsletter_list_idstring

    Newsletter list whose subscribers would be targeted if this draft is later published.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SegmentBEEHIIV_CREATE_SEGMENTAcción

Create an audience segment from explicit subscription IDs, explicit emails, or custom-field rules; returns the segment and its initial calculation status.

Parámetros de entrada

  • namestringObligatorio

    Unique segment name within the publication.

  • inputanyObligatorio

    Segment definition using exactly one subscriptions, emails, or custom_fields payload.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SubscriptionBEEHIIV_CREATE_SUBSCRIPTIONAcción

Create a new publication subscription without reactivating an unsubscribed address or sending a welcome email; supports attribution, initial custom fields, and newsletter-list assignment.

Parámetros de entrada

  • emailstringObligatorio

    Consenting subscriber's email address.

  • utm_mediumstring

    Acquisition medium for this subscription.

  • utm_sourcestring

    Acquisition source for this subscription.

  • utm_campaignstring

    Acquisition campaign for this subscription.

  • custom_fieldsobject[]

    Initial values for existing custom fields. Beehiiv discards unknown field names.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

  • referring_sitestring

    Website that referred the subscriber.

  • newsletter_list_idsstring[]

    Newsletter list IDs in this publication to join when the subscription is created.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Custom FieldsBEEHIIV_LIST_CUSTOM_FIELDSAcción

List the custom-field definitions available for subscriber metadata and dynamic audience segments in a publication, returning one page controlled by page and limit with pagination metadata for retrieving additional fields.

Parámetros de entrada

  • pageinteger

    One-based page number (1-100).

  • limitinteger

    Maximum custom fields to return on this page (1-100).

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PostsBEEHIIV_LIST_POSTSAcción

Search a publication's posts by status, audience, channel, slug, tags, or author and optionally include content, recipients, or statistics.

Parámetros de entrada

  • pageinteger

    One-based page number (1-100).

  • limitinteger

    Maximum posts to return on this page (1-100).

  • slugsstring[]

    Exact post slugs to match.

  • expandstring[]

    Additional post data to include. Rendered content can make responses large, so request only the formats needed.

  • statusstringenum

    Post status to return.

    draftconfirmedarchivedall
  • authorsstring[]

    Case-insensitive author names to match.

  • audiencestringenum

    Audience tier to return.

    freepremiumall
  • order_bystringenum

    Field used to order posts.

    createdpublish_datedisplayed_date
  • platformstringenum

    Publishing channel to return.

    webemailbothall
  • directionstringenum

    Sort direction.

    ascdesc
  • content_tagsstring[]

    Return posts having any of these content tags.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PublicationsBEEHIIV_LIST_PUBLICATIONSAcción

List publications accessible to the API key, optionally including publication statistics; use the returned publication IDs with publication-scoped tools.

Parámetros de entrada

  • pageinteger

    One-based page number (1-100).

  • limitinteger

    Maximum publications to return on this page (1-100).

  • expandstring[]

    Statistics to include for each publication.

  • order_bystringenum

    Field used to order publications.

    createdname
  • directionstringenum

    Sort direction.

    ascdesc

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Segment MembersBEEHIIV_LIST_SEGMENT_MEMBERSAcción

List full subscriber records currently included in an audience segment, optionally including stats, custom fields, referrals, tags, or premium tiers. The response contains subscriber PII.

Parámetros de entrada

  • pageinteger

    One-based page number (1-100).

  • limitinteger

    Maximum members to return on this page (1-100).

  • expandstring[]

    Related subscriber data to include.

  • segment_idstringObligatorio

    Segment ID, beginning with seg_.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List SegmentsBEEHIIV_LIST_SEGMENTSAcción

List audience segments in a publication, filtered by segment type or calculation status, with optional latest statistics.

Parámetros de entrada

  • pageinteger

    One-based page number (1-100).

  • limitinteger

    Maximum segments to return on this page (1-100).

  • statusstringenum

    Calculation status to return.

    pendingprocessingcompletedfailedall
  • order_bystringenum

    Field used to order segments.

    createdlast_calculated
  • directionstringenum

    Sort direction.

    ascdesc
  • segment_typestringenum

    Segment type to return.

    dynamicstaticmanualall
  • include_statsboolean

    Include the latest calculated segment statistics.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List SubscriptionsBEEHIIV_LIST_SUBSCRIPTIONSAcción

Search a publication's subscriptions by exact email or filter by status and tier, returning one cursor-controlled page of subscriber records.

Parámetros de entrada

  • tierstringenum

    Subscription tier to return.

    freepremiumall
  • emailstring

    Exact subscriber email to find; matching is case-insensitive.

  • limitinteger

    Maximum subscriptions to return on this page (1-100).

  • cursorstring

    Opaque next_cursor from a previous response. Omit for the first page and pass it back unchanged to continue.

  • expandstring[]

    Related subscription data to include.

  • statusstringenum

    Subscription status to return.

    validatinginvalidpendingactiveinactiveall
  • directionstringenum

    Order by creation time ascending or descending.

    ascdesc
  • creation_datestring

    Return subscriptions created on this date, formatted YYYY/MM/DD.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

  • premium_tier_idsstring[]

    Premium tier IDs used to narrow results.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Draft PostBEEHIIV_UPDATE_DRAFT_POSTAcción

Update content or presentation settings on an existing draft after verifying it is still a draft; refuses confirmed, archived, or sent posts and cannot publish or schedule.

Parámetros de entrada

  • titlestring

    Replacement draft title.

  • post_idstringObligatorio

    Draft post ID, beginning with post_.

  • subtitlestring

    Replacement draft subtitle.

  • web_slugstring

    Replacement web slug.

  • body_htmlstring

    Replacement raw HTML body. Beehiiv strips style and link tags, so use inline styles.

  • recipientsobject

    Replacement future web and email targeting. Both web and email objects are required and each channel needs tier_ids or include_segment_ids.

  • content_tagsstring[]

    Complete replacement set of content tags; an empty array clears all tags.

  • hide_from_feedboolean

    Whether the eventual web post should be hidden from the publication feed.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

  • reply_to_addressstring

    Verified publication reply-to address.

  • email_preview_textstring

    Replacement preview text saved on the draft.

  • email_subject_linestring

    Replacement subject line saved on the draft.

  • newsletter_list_idstring

    Newsletter list to associate with the draft. Omit to leave unchanged.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Subscription Custom FieldsBEEHIIV_UPDATE_SUBSCRIPTION_CUSTOM_FIELDSAcción

Set or remove custom-field values on one subscription without changing its email, tier, billing link, or subscribed status.

Parámetros de entrada

  • custom_fieldsobject[]Obligatorio

    One or more custom-field changes. Field names must already exist in the publication.

  • publication_idstringObligatorio

    Publication ID, beginning with pub_.

  • subscription_idstringObligatorio

    Subscription ID, beginning with sub_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not