Access-token
| API Name | Request Path | Description |
|---|---|---|
| Obtaining API Call Credentials | /cgi-bin/token | This interface is used to obtain a globally unique background API call credentia |
| Obtaining Stable API Call Credentials | /cgi-bin/stable_token | This interface is used to retrieve a globally unique backend API call credential |
Login
| API Name | Request Path | Description |
|---|---|---|
| Mini Program Login Credential Verification | /sns/jscode2session | Verifies login credentials. After obtaining the temporary login credential via |
| Verify Login State | /wxa/checksession | Verify whether the sessionkey saved on the server is valid. To maintain the priv |
| Reset Login State | /wxa/resetusersessionkey | Reset the sessionkey for the specified login state. To maintain the privacy of t |
Wxa-sec-check
| API Name | Request Path | Description |
|---|---|---|
| Media Content Security Detection | /wxa/media_check_async | This API is used to asynchronously verify whether images or audio files contain |
| Text Content Safety Detection | /wxa/game/content_spam/msg_sec_check | The text moderation API can identify common violations in the gaming industry, s |
| Image Content Safety Detection | /wxa/game/content_spam/media_check_sync | The image moderation interface can identify common violations in the gaming indu |
Data
| API Name | Request Path | Description |
|---|---|---|
| Delete Reported KV Data | /wxa/remove_user_storage | This API is used to delete key-value data that has already been reported to WeCh |
| Write User Relationship Chain Interaction Data Storage | /wxa/setuserinteractivedata | This API is used to write data to user relationship chain interaction data stora |
| Report User Data | /wxa/set_user_storage | Backend API for reporting user data. |
Updatable-message
| API Name | Request Path | Description |
|---|---|---|
| Create an activity_id | /cgi-bin/message/wxopen/activityid/create | This API is used to create the activity_id for a shared Dynamic Message or Priva |
| Modify Dynamic Message | /cgi-bin/message/wxopen/updatablemsg/send | This interface is used to modify a shared dynamic message. See Dynamic Message f |
Qr-code
| API Name | Request Path | Description |
|---|---|---|
| Get Mini Program Code | /wxa/getwxacode | This interface is used to obtain Mini Program codes, suitable for business scena |
| Get unrestricted Mini Program Code | /wxa/getwxacodeunlimit | This interface is used to obtain Mini Program codes, suitable for business scena |
| Get Mini Program QR Code | /cgi-bin/wxaapp/createwxaqrcode | Get the Mini Program QR code. This is suitable for business scenarios requiring |
Url-scheme
| API Name | Request Path | Description |
|---|---|---|
| Query Scheme Code | /wxa/queryscheme | This API is used to query Mini Program Scheme codes, including encrypted Scheme |
| Retrieve Encrypted Scheme Code | /wxa/generatescheme | This API is used to retrieve the Mini Program scheme code, suitable for business |
Url-link
| API Name | Request Path | Description |
|---|---|---|
| Obtain Encrypted URL Link | /wxa/generate_urllink | Obtain a Mini Program URL Link, suitable for business scenarios that launch a Mi |
| Query Encrypted URL Link | /wxa/query_urllink | This API is used to query the Mini Program encrypted url_link configuration. |
Data-analysis
| API Name | Request Path | Description |
|---|---|---|
| analysis.getGameAnalysisData | /datacube/getgameanalysisdata | - |
Cloudbase
| API Name | Request Path | Description |
|---|---|---|
| Create SMS Sending Task | /tcb/createsendsmstask | This API is used to create an SMS sending task. The sent SMS supports opening Cl |
| Cloud Development Reporting API | /tcb/cloudbasereport | This API serves as a general-purpose reporting endpoint for Cloud Development. |
| Query SMS Records | /tcb/describesmsrecords | This API is used to query SMS records within the last 2 months. |
| Describe Extended File Upload Information | /tcb/describeextensionuploadinfo | This API is used to describe extended file upload information. |
| Retrieve Cloud Development Data | /tcb/getstatistics | This API is used to retrieve Cloud Development data. |
Gamematch
| API Name | Request Path | Description |
|---|---|---|
| Create Matchmaking Rules | /wxa/business/gamematch/creatematchrule | Creates matchmaking rules for a Mini Game and returns a matchid. |
| Delete Match Rule | /wxa/business/gamematch/deletematchrule | Delete a match rule for a Mini Game. Each rule corresponds to a unique matchid. |
| Get Matchmaking Rules | /wxa/business/gamematch/getallmatchrule | Retrieves all s owned by the Mini Game along with their corresponding matchmakin |
| Update the Open Status of Match Rules | /wxa/business/gamematch/setmatchopenstate | Modifies the open status corresponding to the matchid. |
| Modify Match Rules | /wxa/business/gamematch/updatematchrule | Modifies the matching rule associated with a specific . |
Internet
| API Name | Request Path | Description |
|---|---|---|
| Retrieve User encryptKey | /wxa/business/getuserencryptkey | This interface is used to retrieve the user's encryptKey. It returns the three m |
Lock-step
| API Name | Request Path | Description |
|---|---|---|
| Create a Frame-Synchronized Game Room | /wxa/createwxagameroom | Create a Frame-Synchronized Game Room via Third-Party Backend |
| Fetch Game Frames in Chunks for a Match | /wxa/getwxagameframe | This API is used to fetch game frames for a match in chunks. |
| Retrieve Player Position Information in a Match | /wxa/getwxagameidentityinfo | This API is used to retrieve player position information in a match. |
| Get specified room information | /wxa/getwxagameroominfo | This interface is used to obtain information about a specified room. |
Safety-control-capability
| API Name | Request Path | Description |
|---|---|---|
| Retrieve User Security Level | /wxa/getuserriskrank | This API is used to retrieve the user's security level, , based on the submitted |
| Get Cheat Classification Label Data for Mini Games | /wxa/game/content_spam/get_cheat_data | This API allows Mini Game developers to retrieve classified label data for users |
Subscribe-message
| API Name | Request Path | Description |
|---|---|---|
| Send Subscription Message | /cgi-bin/message/subscribe/send | This API is used to send subscription messages. |
Midas-payment
Game_currency
| API Name | Request Path | Description |
|---|---|---|
| Query game currency balance | /wxa/game/getbalance | Queries the game currency balance. This interface is available to Mini Games tha |
| Deduct Game Coins | /wxa/game/pay | This API is available for Mini Games that have enabled Virtual Payment. |
| Refund of Deducted In-Game Currency | /wxa/game/cancelpay | This API is available to Mini Games with virtual payment enabled. |
| Grant Game Coins to Users | /wxa/game/present | This API is available for Mini Games with Virtual Payment enabled. |
Order
| API Name | Request Path | Description |
|---|---|---|
| Query Order Status | /wxa/game/queryorderinfo | This API is used to view the order status. |