Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

How Do I Enable Message Push?

Updated on 2025-01-23 GMT+08:00

Prerequisites

To use the message push function, you need to prepare a message push API. For details about the API specifications, see Message Push Interface Specifications. After the API is developed, you need to submit an application to the system administrator to add the message push address ({baseUrl}/webhooks/v1/messages) to the address trustlist.

If {baseUrl} is an HTTPS URL, you also need to prepare an authentication certificate. Only a JKS, DER, or PEM certificate is supported.

NOTE:

HTTP has security risks. You are advised to use the secure HTTPS protocol.

If two-way authentication is enabled for the message push address, you also need to prepare the identity certificate of the current system.

Context

  • Only the web and WhatsApp channels support message push.

    For the WhatsApp channel, the system automatically pushes messages. No manual configuration is required.

  • If the message push key provided by the message pusher is changed, you need to modify the key in the AICC by referring to the following procedure. Enter the new message push key.

Procedure

  1. (Optional) If {baseUrl} is an HTTPS URL, upload the push address trust certificate and system identity certificate.

    1. Choose Configuration Center > System Management > Certificate.
    2. Click New and set the certificate name and password as prompted.
    3. Select the type of the certificate to be uploaded.
    4. Click , select the trust certificate and identity certificate from the local PC, and click Open.
    5. Click Save.

  2. Go to the web channel configuration page.
  3. Click to enable Message Push.
  4. Enter the prepared message push address, which is {baseUrl}.
  5. Upload the certificates. Perform this step when the push address is an HTTPS address.

    1. (Optional) Click Trust certificate and select the certificate uploaded in 1.
    2. (Optional) Click Identity certificate and select the certificate uploaded in 1.

  6. Select an authentication mode. The options are Signature Authentication and OAuth Authentication.

    • If Signature Authentication is selected, messages are directly pushed to customers. In this case, you need to set the following parameter:

      Key: The value is a string of 43 characters and can contain only letters and digits.

    • If OAuth Authentication is selected, messages are pushed to the API Fabric, and then the API Fabric pushes the messages to customers. In this case, you need to set the following parameters:

      App ID: Contact the system administrator to obtain the app key of the app that has subscribed to the pushMsg API and bound to the tenant space for which the web channel needs to be configured on the Online Studio > API Management > APP Service > APP Management page, and enter the app key here.

      App Secret: Contact the system administrator to obtain the app secret of the app that has subscribed to the pushMsg API and bound to the tenant space for which the web channel needs to be configured on the Online Studio > API Management > APP Service > APP Management page, and enter the app secret here.

  7. Click The next step to complete the configuration.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback