Skip to content

Connect WeChat to Click2Reply live chat

Messages your customers send on WeChat arrive in Click2Reply as chats, and your agents’ replies go back through WeChat.

  1. In the agent app, open Settings > Messaging apps and choose WeChat.
  2. Fill in the fields below.
  3. Under New chats go to, pick the group that answers this channel, then connect.
  4. Finish the steps the app shows in the provider's console, below.

In the Official Account console, the AppID and AppSecret, and the EncodingAESKey if you use safe mode. API host is only for an account served from another WeChat API region.

FieldKey
App IDapp_idrequired
App secretapp_secretrequired, secret
EncodingAESKeyencoding_aes_keyoptional, secret
API hostapi_baseoptional

A secret is stored encrypted and never shown again, only a hint of it.

The app lists these under One more step in the provider's console, with the exact values to paste:

  • In Server config, set the URL and the Token the app shows.
  • Choose safe mode and paste your EncodingAESKey, or leave it in plain mode.
  • Add Cloudflare's IP ranges to the API IP allowlist: our servers have no fixed IP.

With a token holding channels.manage, connect with one call; group_id is optional:

Terminal window
curl -sS -X POST "https://api.click2reply.com/v1/channels/connections" \
-H "Authorization: Bearer $C2R_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channel":"wechat","name":"WeChat support","credentials":{"app_id":"<app_id>","app_secret":"<app_secret>"}}'

The answer is { connections, manual_steps }: the connection, and each step left to do by hand as a code and the value to paste, such as the webhook URL.