Log in to the IM console, click the target app, and select Webhook Configuration in the left sidebar. You can configure webhook URLs and decide which webhooks to enable according to your business needs.
Note:
- The webhook URL must start with
http://
orhttps://
.- If you have not yet applied for a domain name, you can directly configure an IP address, for example,
http://123.123.123.123/imcallback
.- Only letters (
a–z
, case-insensitive), numbers (0–9) and hyphens (-) can be used. Spaces and the following characters are not supported:!$&?
.- The hyphen (-) cannot appear consecutively, be registered independently, or be placed at the beginning or end.
- The length of the domain name cannot exceed 63 characters.
- The webhook URL of IM uses ports 80/443 by default. When the webhook URL is replaced, port changes are involved. Please avoid the situation where the ports before and after the replacement are mutually prefixed; for example, avoid changing
https://xxx:443
tohttps://xxx:4433
or changinghttps://xxx
tohttps://xxx:4433
.
After configuring webhook URLs, you can download an HTTPS mutual authentication certificate from the console for future use.
Note:You can configure mutual authentication based on your actual needs. For the detailed configuration methods, see Mutual Authentication Configuration.
After configuring webhook URLs and enabling the corresponding event webhooks, you can refer to Webhooks to use the corresponding webhooks in order to obtain user and operation information in real time.
Was this page helpful?