15-day Pro trial · no credit cardStart free →

Channels

WeChat Mini ProgramNew

Receive and answer Mini Program customer service messages.

Connect Mini Program customer service messages: messages users send after tapping the contact button in your Mini Program arrive in the STINGIM inbox and can be answered there.

China channels appear under Settings → Channels only after they are enabled for your organization; contact support. On the Singapore (international) deployment a tenant administrator must first accept the cross-border processing notice.

Prerequisites

  • A Mini Program registered to a company (not an individual) and admin access to its console.
  • A contact button on your pages: <button open-type="contact" session-from="source">. The session-from value is saved in the contact remark.

1. Collect credentials

In the Mini Program console open Development → Development management → Development settings, copy the AppID, generate and copy the AppSecret, and add the egress IPs shown on the STINGIM channel page to the IP whitelist.

2. Connect in STINGIM

  1. Open Settings → Channels → WeChat Mini Program and enter the AppID and AppSecret (optionally the original ID gh_…).
  2. Copy the generated Token and EncodingAESKey, then click Connect.
  3. Click Manage and copy the callback URL: https://api.stingim.com/v1/channel/wx-miniprogram/<channel-id>.

3. Configure message push

In Development → Development management → Message push, enter the URL, Token and EncodingAESKey, choose safe mode (recommended) and either JSON or XML, then submit.

Messages and replies

  • Text, images and Mini Program page cards are supported; a contact is created when the user opens the chat.
  • Up to 5 replies within 48 hours of each user message, and 2 replies within 1 minute after the user opens the chat.
  • Images are sent natively; voice, video and files as download links.

Still stuck? Contact support.

Found a mistake? Email [email protected]