md2wechat Agent API markmd2wechat Agent API
  • Docs
  • Features
  • Themes
  • Editor
  • Blog
  • Pricing
  • Examples
  • Skills
  • Contact
The WeChat Publishing API for AI Agents
2026/09/05

The WeChat Publishing API for AI Agents

Two separate services: the Convert API renders HTML, the Publishing API carries drafts. What each one needs and where the CLI fits.

The WeChat Publishing API for AI Agents

The single most important fact: the Convert API never creates WeChat drafts. Rendering and publishing are two separate services.

Convert APIPublishing API
URLhttps://www.md2wechat.cn/api/converthttps://md2wechat.com/api/v1
AuthOne API key (three equivalent headers)WeChat AppID/AppSecret via the CLI
Side effectsNoneDraft creation
WhitelistNever neededWhen the platform requires it

When you only need rendering

Stop at the Convert API. One key, one request, data.html back — no WeChat credentials at all. See Convert.

When you need the draft box

The Publishing API is driven by the md2wechat CLI:

md2wechat inspect article.md --json
md2wechat convert article.md --preview
md2wechat convert article.md --draft --cover cover.jpg

Prerequisites: WeChat AppID and AppSecret, draft/material API permissions, an IP whitelist entry when required (Whitelist), and explicit confirmation before the side effect. Concept page: Publishing API.

Why the split matters for agents

Rendering is safe to retry and cheap to verify; publishing is a side effect that must be explicit. Keeping them on separate services keeps the safe path obvious — the same boundary the md2wechat.cn docs draw at https://www.md2wechat.cn/wechat-publishing-api.

All Posts

Author

avatar for geekjourney
geekjourney

Categories

  • API
The WeChat Publishing API for AI AgentsWhen you only need renderingWhen you need the draft boxWhy the split matters for agents

More Posts

How to Use md2wechat-skill in Obsidian with Claudian
Integration

How to Use md2wechat-skill in Obsidian with Claudian

A practical Claudian guide for md2wechat-skill, including install order, PATH fixes, discovery commands, and the first successful Obsidian workflow.

avatar for geekjourney
geekjourney
2026/03/21
How to Choose From 48 WeChat Themes
Workflow

How to Choose From 48 WeChat Themes

The 48-theme catalog in five groups, what per-theme metadata means, and the API/AI mode rule that fails closed.

avatar for geekjourney
geekjourney
2026/09/05
CLI, Skill, or Raw API: How to Choose the Right md2wechat Entry Point
Integration

CLI, Skill, or Raw API: How to Choose the Right md2wechat Entry Point

CLI, skill, and raw API are not three separate products. They are three different entry points. This article explains which one fits which stage.

avatar for geekjourney
geekjourney
2026/04/28

Newsletter

Join the community

Subscribe to our newsletter for the latest news and updates

md2wechat Agent API markmd2wechat Agent API

The official md2wechat API, docs, CLI, and skill entry points for Markdown to WeChat publishing workflows.

GitHubX (Twitter)
Product
  • Quickstart
  • Features
  • Themes
  • Pricing
  • Contact
Docs
  • Auth
  • OpenAPI
  • llms.txt
Ecosystem
  • Examples
  • Skills
  • md2wechat-lite
© 2026 md2wechat Agent API. All Rights Reserved.