Convert
Convert Markdown into WeChat-ready HTML.
Convert
What it does
Turns Markdown into WeChat-ready HTML.
Required headers
Content-Type: application/json
Md2wechat-API-Key: wme_your_api_keyRequest body
{
"markdown": "# Hello\n\nBody",
"theme": "default",
"fontSize": "medium",
"convertVersion": "v1"
}Theme parameter
thememust be one of the currently supported public theme ids.- Browse the full catalog at /themes.
- See Theme for selection rules and API usage guidance.
Copy-paste curl
curl -X POST "http://localhost:8080/api/v1/convert" \
-H "Content-Type: application/json" \
-H "Md2wechat-API-Key: wme_your_api_key" \
-d '{
"markdown": "# Hello\n\nBody",
"theme": "default",
"fontSize": "medium",
"convertVersion": "v1"
}'Success response
Returns WeChat-ready HTML.
Failure response
Auth failure or invalid markdown payload.
Agent notes
- Best first endpoint for integration.
- Safe for pipelines that only need HTML output.