Get Short Link

View Markdown

Last edited on 2026-10-10

You can use the server-side interface generateShortLink to obtain the Short Link for opening any page in Mini Program. This is applicable to business scenarios that launch Mini Program within WeChat. The scene value for opening Mini Program via a Short Link is 1179.

The generated ShortLink is as follows:

# Mini Program:// Mini Program example/example_page/9pZvnVw3KMCQpVp

Call Limits

ShortLinks are categorized into Short-Term ShortLinks and Permanent ShortLinks based on the validity expiration parameters:

  1. The daily ShortLink generation limit per Mini Program is 10,000,000 (including both short-term and permanent ShortLinks).
  2. The total limit for permanent ShortLinks generated per Mini Program is 100,000. Please use with caution.
  3. The validity period for short-term ShortLinks is 30 days. There is no limit on the number of short-term ShortLinks generated per Mini Program.

Availability

Available for non-individual entity Mini Program calls.