Actualizar post en beehiiv, con una API

Actualiza un post; solo en los planes Pro y Enterprise. Solo cambian los campos enviados, y body_content reemplaza todo el contenido. scheduled_at no puede cambiar después de enviado el post.

Identificador
beehiiv_update_post

La llamada

POST https://connect.reportei.com/api/tools/beehiiv_update_post/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "publicationId": "<publicationId>",
    "postId": "<postId>"
  }
}

Tu sistema envía el id de la conexión de tu cliente y los argumentos de la tool. Los headers son los mismos de toda la API de Connect: el token de tu producto y el token de tu cliente.

Parámetros

Las descripciones de los parámetros siguen la documentación oficial de la app, en inglés.

ParámetroTipoObligatorioDescripción
publicationIdstringSíId of the publication, from List publications.
postIdstringSíId of the post, from List posts or Create post.
titlestringNoTitle of the post.
subtitlestringNoSubtitle of the post.
body_contentstringNoNew content as raw HTML, replacing the current one. beehiiv removes style and link tags, so style the elements with inline style attributes.
statusstringNoconfirmed sends and publishes the post right away, or at scheduled_at.Valores: draft, confirmed
scheduled_atstringNoWhen to publish, for example 2026-11-05T12:00:00Z.
thumbnail_image_urlstringNoURL of the thumbnail image.
content_tagsarrayNoContent tags of the post.
recipientsobjectNoWho gets it on each channel, with tier_ids free, premium or all. Leave a channel out to skip it.
email_settingsobjectNoEmail options: email_subject_line, email_preview_text, reply_to_address (a verified reply-to address of the publication) and whether the title, subtitle and byline show in the email.
web_settingsobjectNoWeb options: the slug of the post URL, hide_from_feed, and whether the title, subtitle and thumbnail show on the web.
seo_settingsobjectNoSearch and social metadata of the web version.
social_sharestringNoSocial share buttons of the post.Valores: comments_and_likes_only, with_comments_and_likes, top, none
email_capture_type_overridestringNoHow the web version asks visitors for their email.Valores: none, gated, popup
custom_link_tracking_enabledbooleanNotrue turns on custom link tracking.
utm_params_enabledbooleanNoWhether UTM parameters go on the links.
utm_sourcestringNoutm_source of the links.
utm_mediumstringNoutm_medium of the links.
utm_campaignstringNoutm_campaign of the links.

Conexiones posibles

Tu cliente conecta su cuenta de beehiiv una sola vez, con uno de los modos de abajo. La misma conexión sirve para todas las tools del toolkit.

Clave de API

Tu cliente pega la clave de la app en una pantalla de Connect, o tu sistema envía la clave con POST /api/customer-toolkits, sin pantalla.

La respuesta

Si la llamada tiene éxito, Connect conserva el status y el cuerpo de la respuesta de la app. Los errores HTTP devueltos por la app usan el objeto {error, api_error}; la autenticación o validación pueden fallar antes de la ejecución. El header X-Toolkit-Execution-Id identifica la ejecución registrada, disponible en GET /api/tools/executions/{uuid}.

Lista para agentes de IA

El input de esta tool es un JSON Schema, disponible en GET /api/tools/beehiiv_update_post. Se convierte en la definición de tool de tu agente sin conversión.

Otras tools de beehiiv

Ver las 12 tools

Toolkits de la misma categoría

Ver los 100 toolkits

Mira Connect aplicado a tu producto.

Pruébalo durante 15 días sin tarjeta, o cuéntale tu caso a nuestro equipo.