View Markdown

Access-token

API NameRequest PathDescription
Obtaining API Call Credentials/cgi-bin/tokenThis interface is used to obtain a globally unique background API call credentia
Obtaining Stable API Call Credentials/cgi-bin/stable_tokenThis interface is used to retrieve a globally unique backend API call credential

Login

API NameRequest PathDescription
Mini Program Login Credential Verification/sns/jscode2sessionVerifies login credentials. After obtaining the temporary login credential via
Verify Login State/wxa/checksessionVerify whether the sessionkey saved on the server is valid. To maintain the priv
Reset Login State/wxa/resetusersessionkeyReset the sessionkey for the specified login state. To maintain the privacy of t

Wxa-sec-check

API NameRequest PathDescription
Media Content Security Detection/wxa/media_check_asyncThis API is used to asynchronously verify whether images or audio files contain
Text Content Safety Detection/wxa/game/content_spam/msg_sec_checkThe text moderation API can identify common violations in the gaming industry, s
Image Content Safety Detection/wxa/game/content_spam/media_check_syncThe image moderation interface can identify common violations in the gaming indu

Data

API NameRequest PathDescription
Delete Reported KV Data/wxa/remove_user_storageThis API is used to delete key-value data that has already been reported to WeCh
Write User Relationship Chain Interaction Data Storage/wxa/setuserinteractivedataThis API is used to write data to user relationship chain interaction data stora
Report User Data/wxa/set_user_storageBackend API for reporting user data.

Updatable-message

API NameRequest PathDescription
Create an activity_id/cgi-bin/message/wxopen/activityid/createThis API is used to create the activity_id for a shared Dynamic Message or Priva
Modify Dynamic Message/cgi-bin/message/wxopen/updatablemsg/sendThis interface is used to modify a shared dynamic message. See Dynamic Message f

Qr-code

API NameRequest PathDescription
Get Mini Program Code/wxa/getwxacodeThis interface is used to obtain Mini Program codes, suitable for business scena
Get unrestricted Mini Program Code/wxa/getwxacodeunlimitThis interface is used to obtain Mini Program codes, suitable for business scena
Get Mini Program QR Code/cgi-bin/wxaapp/createwxaqrcodeGet the Mini Program QR code. This is suitable for business scenarios requiring

Url-scheme

API NameRequest PathDescription
Query Scheme Code/wxa/queryschemeThis API is used to query Mini Program Scheme codes, including encrypted Scheme
Retrieve Encrypted Scheme Code/wxa/generateschemeThis API is used to retrieve the Mini Program scheme code, suitable for business
API NameRequest PathDescription
Obtain Encrypted URL Link/wxa/generate_urllinkObtain a Mini Program URL Link, suitable for business scenarios that launch a Mi
Query Encrypted URL Link/wxa/query_urllinkThis API is used to query the Mini Program encrypted url_link configuration.

Data-analysis

API NameRequest PathDescription
analysis.getGameAnalysisData/datacube/getgameanalysisdata-

Cloudbase

API NameRequest PathDescription
Create SMS Sending Task/tcb/createsendsmstaskThis API is used to create an SMS sending task. The sent SMS supports opening Cl
Cloud Development Reporting API/tcb/cloudbasereportThis API serves as a general-purpose reporting endpoint for Cloud Development.
Query SMS Records/tcb/describesmsrecordsThis API is used to query SMS records within the last 2 months.
Describe Extended File Upload Information/tcb/describeextensionuploadinfoThis API is used to describe extended file upload information.
Retrieve Cloud Development Data/tcb/getstatisticsThis API is used to retrieve Cloud Development data.

Gamematch

API NameRequest PathDescription
Create Matchmaking Rules/wxa/business/gamematch/creatematchruleCreates matchmaking rules for a Mini Game and returns a matchid.
Delete Match Rule/wxa/business/gamematch/deletematchruleDelete a match rule for a Mini Game. Each rule corresponds to a unique matchid.
Get Matchmaking Rules/wxa/business/gamematch/getallmatchruleRetrieves all s owned by the Mini Game along with their corresponding matchmakin
Update the Open Status of Match Rules/wxa/business/gamematch/setmatchopenstateModifies the open status corresponding to the matchid.
Modify Match Rules/wxa/business/gamematch/updatematchruleModifies the matching rule associated with a specific .

Internet

API NameRequest PathDescription
Retrieve User encryptKey/wxa/business/getuserencryptkeyThis interface is used to retrieve the user's encryptKey. It returns the three m

Lock-step

API NameRequest PathDescription
Create a Frame-Synchronized Game Room/wxa/createwxagameroomCreate a Frame-Synchronized Game Room via Third-Party Backend
Fetch Game Frames in Chunks for a Match/wxa/getwxagameframeThis API is used to fetch game frames for a match in chunks.
Retrieve Player Position Information in a Match/wxa/getwxagameidentityinfoThis API is used to retrieve player position information in a match.
Get specified room information/wxa/getwxagameroominfoThis interface is used to obtain information about a specified room.

Safety-control-capability

API NameRequest PathDescription
Retrieve User Security Level/wxa/getuserriskrankThis 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_dataThis API allows Mini Game developers to retrieve classified label data for users

Subscribe-message

API NameRequest PathDescription
Send Subscription Message/cgi-bin/message/subscribe/sendThis API is used to send subscription messages.

Midas-payment

Game_currency

API NameRequest PathDescription
Query game currency balance/wxa/game/getbalanceQueries the game currency balance. This interface is available to Mini Games tha
Deduct Game Coins/wxa/game/payThis API is available for Mini Games that have enabled Virtual Payment.
Refund of Deducted In-Game Currency/wxa/game/cancelpayThis API is available to Mini Games with virtual payment enabled.
Grant Game Coins to Users/wxa/game/presentThis API is available for Mini Games with Virtual Payment enabled.

Order

API NameRequest PathDescription
Query Order Status/wxa/game/queryorderinfoThis API is used to view the order status.