Call it
curl https://api.peume.com/v1/call/wechat-official-accounts-account-details \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"account": "your account"
}
}'const res = await fetch("https://api.peume.com/v1/call/wechat-official-accounts-account-details", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"account": "your account"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/wechat-official-accounts-account-details",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"account": "your account"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: wechat-official-accounts-account-details.
Parameters
accountRequiredstringIdentifies the target WeChat Official Account using its WeChat ID, raw ID (starting with gh_), or a resolvable account/article URL. It does not accept personal WeChat IDs. Used by account_principal (for publisher profile metadata), account_articles (for historical post lists), and account_today_articles (for posts published today). account_articles and account_today_articles also accept the full account name and match it exactly: the name is used only when exactly one account has that name. In that case, call account_search to get the account's ghid (the raw ID starting with gh_), then pass it
