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.

WeChat Mini Programs Server API is one of 13 APIs that WeChat publishes on the APIs.io network.

Tagged areas include Mini Programs, Server API, Authentication, Messaging, and Content Moderation. The published artifact set on APIs.io includes an API reference, API documentation, a getting-started guide, and authentication docs.

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