Posts

Send a post to a newsletter or website as a draft

Copies the post into Mailchimp, Kit, beehiiv, MailerLite, Brevo or Klaviyo as a newsletter draft, or into Webflow, Contentful or WordPress.com as a draft. Never sends or publishes. Without app or target_id the answer lists the choices; the same post sent to the same place again updates that draft.

POSThttps://traceeai.com/api/v1/posts/{post_id}/export

CLI:tracee posts export·MCP:postsaction export

Authorizations

  • Authorizationstringheaderrequired

    Bearer <key>: a personal key (tracee login or Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.

Headers

  • Tracee-Workspacestring

    For a personal key or OAuth token that reaches several workspaces: the workspace id to act on. Workspace keys don't need it.

    uuid

Path parameters

  • post_idstringrequired

    The post, from GET /api/v1/posts (or the id POST /api/v1/posts returns)

    uuid

Body

application/json
  • appstring

    Where the draft goes: mailchimp, kit, beehiiv, mailerlite, brevo, klaviyo, webflow, contentful, wordpress_com

    up to 40 characters

  • target_idstring

    The list, publication or collection (POST /api/v1/posts/{post_id}/export without it lists them)

    up to 500 characters

  • subjectstring

    The email subject or page title (default: the post's first line)

    up to 250 characters

  • field_mapobject

    Websites: which field gets each part, e.g. {"body": "post-body", "image": ""}

    any keys

Response

  • 200Done.

    The action's result, exactly as the MCP tool returns it to agents. A next field, when present, names the endpoint that follows up.