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.
https://traceeai.com/api/v1/posts/{post_id}/exportCLI:tracee posts export·MCP:postsaction export
Authorizations
AuthorizationstringheaderrequiredBearer <key>: a personal key (tracee loginor Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.
Headers
Tracee-WorkspacestringFor 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_idstringrequiredThe post, from GET /api/v1/posts (or the id POST /api/v1/posts returns)
uuid
Body
appstringWhere the draft goes: mailchimp, kit, beehiiv, mailerlite, brevo, klaviyo, webflow, contentful, wordpress_com
up to 40 characters
target_idstringThe list, publication or collection (POST /api/v1/posts/{post_id}/export without it lists them)
up to 500 characters
subjectstringThe email subject or page title (default: the post's first line)
up to 250 characters
field_mapobjectWebsites: 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
nextfield, when present, names the endpoint that follows up.