The original Official Account document (including subscription number and Service Account) has been upgraded to Official Account message template (original subscription number) and service number document.Official Account message template please refer to the contents of this directory, service document please click here to go.

# User Management

# UnionID Mechanism Dxplaination

After a follower interacts with Official Account, the Official Account message template can obtain the follower's OpenID (encrypted WeChat number), which is unique for each user.For different Official Account message templates, the same user has different openids.Official Account message template through to get basic user information according to OpenID, including language and attention time.

Please note that if the developer has multiple Official Account, or Official Account message templates, Mobile App 、 Weixin Mini Program 、Delivery Assistant, Website App, WeChat, Delivery Assistant and Website App, and WeChat open.weixin.qq.com )After binding the Official Account message template, Union ID mechanism can be used to meet the above requirements.

# User ID Dxplaination

There are two user identity tags, openid and unionid

An openid is a WeChat user's identity for an app (Official Account). The same WeChat user has different openids for different apps (Official Account message template).

A unionid is a WeChat user identifier for an open platform.If the developer has multiple Mobile App, Website App, and Weixin Mini ProgramThe user's unionid can be distinguished by obtaining the user's basic information by obtaining a unionid in the user''s essential information, because as long as the mobile apps, website apps and Mini Programs, small stores and delivery assistants under the same WeChat open platform account, the user' unionid is unique.

Quick Notes Formula:

微信用户 + 公众号 AppID = openid
微信用户 + 开放平台账号 = unionid

That is, as long as the Official Account AppID does not change, openid does not change.As long as the Official Account message template remains the same, the unionid will not change.

Please note:

From June 8, 2020, users started paying attention to the source "WeChat advertisement (ADD_SCENE_WECHAT_ADVERTISEMENT)" from "OTHERS" and no longer output profile pictures or nickname information after December 27, 2021.

List of interfaces:

  1. Get basic user information: Click here to view interface documentation

  2. Bulk access to basic user information: Click here to view interface documentation

# List of interfaces

# Label Management

Interface NameEnglish nameRequest Path
Get a list of fans under the taggetTagFans/cgi-bin/user/tag/get
Get a labelgetTags/cgi-bin/tags/get
Create a tagcreateTag/cgi-bin/tags/create
Edit labelsupdateTag/cgi-bin/tags/update
Delete the tagdeleteTag/cgi-bin/tags/delete
Cancel labels for users in bulkbatchUntagging/cgi-bin/tags/members/batchuntagging
Label users in bulkbatchTagging/cgi-bin/tags/members/batchtagging
Get a list of users' tagsgetTagidList/cgi-bin/tags/getidlist

# User Information

Interface NameEnglish nameRequest Path
Cancel blocking usersbatchUnblacklist/cgi-bin/tags/members/batchunblacklist
Get a blacklist list for Official AccountgetBlacklist/cgi-bin/tags/members/getblacklist
Get basic user informationuserInfo/cgi-bin/user/info
Get basic user information in bulkbatchUserinfo/cgi-bin/user/info/batchget
Get a list of subscribersgetFans/cgi-bin/user/get
Disable usersbatchBlacklist/cgi-bin/tags/members/batchblacklist
Set user backup nameupdateRemark/cgi-bin/user/info/updateremark