WeChat Mini Programs Server API

Backend HTTPS/JSON APIs that Mini Program operators call from their own servers to authenticate user sessions (code2Session), mint access tokens, send customer service and template/subscription messages, generate Mini Program codes / QR codes, run content moderation (msgSecCheck, imgSecCheck, mediaCheckAsync), pull analytics (retention, visit trends, user portraits, page distribution), manage logistics, manage plugins, and verify SOTER biometric signatures. This is the server-side counterpart to the Mini Program JS framework and the primary integration surface for Mini Program publishers.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wechat-mini-programs-server-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
aid: wechat:wechat-mini-programs-server-api
name: WeChat Mini Programs Server API
description: Backend HTTPS/JSON APIs that Mini Program operators call from their own servers to authenticate
  user sessions (code2Session), mint access tokens, send customer service and template/subscription messages,
  generate Mini Program codes / QR codes, run content moderation (msgSecCheck, imgSecCheck, mediaCheckAsync),
  pull analytics (retention, visit trends, user portraits, page distribution), manage logistics, manage
  plugins, and verify SOTER biometric signatures. This is the server-side counterpart to the Mini Program
  JS framework and the primary integration surface for Mini Program publishers.
humanURL: https://developers.weixin.qq.com/miniprogram/en/dev/api-backend/
baseURL: https://api.weixin.qq.com
tags:
- Mini Programs
- Server API
- Authentication
- Messaging
- Content Moderation
- Analytics
- QR Codes
properties:
- url: https://developers.weixin.qq.com/miniprogram/en/dev/api-backend/
  type: APIReference
- url: https://developers.weixin.qq.com/miniprogram/en/dev/framework/
  type: Documentation
- url: https://developers.weixin.qq.com/miniprogram/en/dev/framework/quickstart/
  type: GettingStarted
- url: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/login/auth.code2Session.html
  type: Authentication