API Overview
md2wechat Agent API endpoints for Markdown to WeChat HTML, draft creation, and media upload.
API Overview
md2wechat Agent API exposes four v1 endpoints for the real WeChat publishing path.
Public endpoints
POST /api/v1/convertPOST /api/v1/article-draftPOST /api/v1/newspic-draftPOST /api/v1/batch-upload
Shared rules
- Prefer
curlor server-side fetch. - Keep credentials server-side.
- Start with Auth.
- Choose a supported
themevalue from the theme catalog. - Read before wiring
themeintoconvertor draft endpoints.
If you want advanced layout
The more important shift is not just the endpoint list. convert can now take structured advanced layout modules as part of the Markdown input.
Recommended reading order:
Those three pages answer three different questions:
- why this syntax is worth adopting
- how the fields and modules should be written
- which small set of modules an agent should choose for a given content job