WeChat Official Account を Open Flow に接続
Ask your AI assistant to work with WeChat Official Account: prepare article drafts and review publishing results.
毎月 20,000 回のアプリ呼び出しが無料(有料サービスは別途課金)
アプリの説明と操作の詳細は英語で表示されます。
できること
WeChat Official Account connects article drafts, publishing tasks, media, messages, and eligible account analytics to AI workflows.
Review Article Drafts
List drafts and inspect selected article content.
Publish a Reviewed Draft
Submit a draft and follow its publishing task.
Review Follower Changes
Read daily gains, losses, and cumulative counts.
すべての操作
Get Api Domain Ip
Get the WeChat API server IP addresses that the official account servers may call from.
weixin_official_account.get_api_domain_ipGet Callback Ip
Get the WeChat callback server IP addresses. Allowlist them when the official account receives message callbacks.
weixin_official_account.get_callback_ipCallback Check
Check network connectivity between WeChat servers and the callback URL configured for the official account. Fails with errcode 40201 when the account has no callback URL configured.
weixin_official_account.callback_checkClear Quota
Reset the monthly API call quota of the connected official account. The account's appId is taken from the credential. Each account can clear its quota at most 10 times per calendar month.
weixin_official_account.clear_quotaUpload Temp Media
Upload a temporary media file to the official account. Temporary media expires 3 days after upload. Size limits: image 10 MB, voice 2 MB, video 10 MB, thumb 64 KB.
weixin_official_account.upload_temp_mediaGet Temp Media
Download a temporary media file by media_id. Image, voice, and thumb media are stored in local transit storage; video media returns a video_url instead.
weixin_official_account.get_temp_mediaUpload Article Image
Upload an image used inside article HTML content and get back its WeChat-hosted URL. Only the returned URL renders inside article content. JPG/PNG only, at most 1 MB. Does not consume the material quota.
weixin_official_account.upload_article_imageAdd Material
Upload a permanent media material. Permanent materials do not expire but count toward the account material quota. Size limits: image 10 MB, voice 2 MB, video 10 MB, thumb 64 KB. Video uploads require title and introduction.
weixin_official_account.add_materialGet Material
Get a permanent material by media_id. News materials return their articles and video materials return title, description, and down_url as JSON; image and voice materials are stored in local transit storage.
weixin_official_account.get_materialDelete Material
Permanently delete a permanent material by media_id. This cannot be undone.
weixin_official_account.delete_materialGet Material Count
Get the permanent material counts of the official account, grouped by media type.
weixin_official_account.get_material_countBatch Get Material
List permanent materials of one type in pages of at most 20 items.
weixin_official_account.batch_get_materialAdd Draft
Create an article draft with 1 to 8 articles. Cover images must be permanent material media_ids.
weixin_official_account.add_draftGet Draft
Get the content of one article draft by media_id.
weixin_official_account.get_draftDelete Draft
Permanently delete one article draft by media_id. This cannot be undone.
weixin_official_account.delete_draftUpdate Draft
Replace one article inside a draft. index is zero-based: the first article is 0.
weixin_official_account.update_draftGet Draft Count
Get the total number of article drafts of the official account.
weixin_official_account.get_draft_countBatch Get Draft
List article drafts in pages of at most 20 items.
weixin_official_account.batch_get_draftPublish Draft
Submit one article draft for publishing. The returned publish_id only means the publish task was accepted; poll get_publish_status for the result. Only certified accounts can publish.
weixin_official_account.publish_draftGet Publish Status
Poll the status of a publish task by publish_id.
weixin_official_account.get_publish_statusDelete Publish
Delete a published article by article_id. index selects one article inside the published message, counting from 1; omit index to delete the whole message. Deleted articles show as unavailable to readers. This cannot be undone.
weixin_official_account.delete_publishGet Published Article
Get the content of a published article by article_id.
weixin_official_account.get_published_articleBatch Get Published
List successfully published article records in pages of at most 20 items.
weixin_official_account.batch_get_publishedSend Custom Message
Send a customer service message to one follower. Only certified accounts can use this API, and the follower must have interacted with the account within the last 48 hours. content is the message-type-specific object documented per msgType.
weixin_official_account.send_custom_messageSet Typing Status
Show or hide the customer service typing indicator for one follower. Only certified accounts can use this API, and the follower must have interacted with the account within the last 48 hours.
weixin_official_account.set_typing_statusSend Mass Message
Mass-send a message to a list of follower OpenIDs (between 2 and 10000). Only certified accounts can mass-send: certified subscription accounts once per day, certified service accounts 4 times per calendar month. A successful response only means the task was accepted; poll get_mass_message_status for the result.
weixin_official_account.send_mass_messageSend Mass Message By Tag
Mass-send a message to all followers or to one follower tag. Only certified accounts can mass-send: certified subscription accounts once per day, certified service accounts 4 times per calendar month. A successful response only means the task was accepted; poll get_mass_message_status for the result.
weixin_official_account.send_mass_message_by_tagPreview Mass Message
Preview a mass message to one follower before sending, to check its style and layout. Only certified accounts can use this API. Previewing by WeChat ID (toWxName) is limited to 100 calls per day.
weixin_official_account.preview_mass_messageGet Mass Message Status
Poll the send status of a mass message task by msg_id.
weixin_official_account.get_mass_message_statusDelete Mass Message
Delete a mass-sent message by msg_id. articleIdx selects one article inside the message, counting from 1; omit it to delete the whole message. Only messages sent through the API that finished sending can be deleted, and only news and video messages qualify. Deletion invalidates the article content page for everyone; users who already received the message still see its card locally. When several mass sends shared one article, deleting one send invalidates all of them.
weixin_official_account.delete_mass_messageSend Template Message
Send a template message to one follower. Only certified service accounts can use this API. data maps each template keyword to {value, color?}.
weixin_official_account.send_template_messageAdd Template
Add a private template from the template library by its short id and get back the full template_id. Only certified service accounts can use this API.
weixin_official_account.add_templateGet All Templates
List all private templates of the account. Only certified service accounts can use this API.
weixin_official_account.get_all_templatesDelete Template
Delete one private template by template_id. Only certified service accounts can use this API. This cannot be undone.
weixin_official_account.delete_templateSet Template Industry
Set the primary and secondary industry of the account, which decides which template library entries are available. Only certified service accounts can use this API.
weixin_official_account.set_template_industryGet Template Industry
Get the primary and secondary industry currently set on the account. Only certified service accounts can use this API.
weixin_official_account.get_template_industryGet User Summary
Get per-day follower gains and losses of the official account. Both dates use YYYY-MM-DD, and WeChat returns data up to yesterday at the latest. The range spans at most 7 day(s) including both ends. Only certified WeChat Official Accounts can use this API.
weixin_official_account.get_user_summaryGet User Cumulate
Get the per-day cumulative follower count of the official account. Both dates use YYYY-MM-DD, and WeChat returns data up to yesterday at the latest. The range spans at most 7 day(s) including both ends. Only certified WeChat Official Accounts can use this API.
weixin_official_account.get_user_cumulateGet Article Read
Get the daily read metrics of every published article that was read on the given day. Both dates use YYYY-MM-DD, and WeChat returns data up to yesterday at the latest. The range spans at most 1 day(s) including both ends. Only certified WeChat Official Accounts can use this API.
weixin_official_account.get_article_readGet Article Share
Get the daily share metrics of every published article that was shared on the given day. Both dates use YYYY-MM-DD, and WeChat returns data up to yesterday at the latest. The range spans at most 1 day(s) including both ends. Only certified WeChat Official Accounts can use this API.
weixin_official_account.get_article_shareGet Biz Summary
Get the per-day overview metrics aggregated across all content published in the range. Both dates use YYYY-MM-DD, and WeChat returns data up to yesterday at the latest. The range spans at most 30 day(s) including both ends. Only certified WeChat Official Accounts can use this API.
weixin_official_account.get_biz_summaryGet Article Total Detail
Get the cumulative per-article metrics for everything published in the range. Each article accumulates at most 30 days of data from its publish date. Both dates use YYYY-MM-DD, and WeChat returns data up to yesterday at the latest. The range spans at most 1 day(s) including both ends. Only certified WeChat Official Accounts can use this API.
weixin_official_account.get_article_total_detail検索条件に一致する操作はありません。
WeChat Official Account を Open Flow に接続
毎月 20,000 回のアプリ呼び出しが無料(有料サービスは別途課金)