Add an HMS push configuration
Registers an HMS (Huawei Mobile Services) push configuration for client apps. To send push notifications to Android devices for HMS, you should first register the HMS push configuration. You can also register the configurations on the Sendbird Dashboard under Settings > Chat > Push notifications.
The following table lists the properties of an HTTP request that this action supports.
Specifies the unique ID of the application registered to the HMS server.
Specifies the secret key allocated to the application.
Specifies the name of a sound file to be played when a push notification is delivered to client apps. The file should be located in the
If successful, this action returns the information about the registered FCM push configuration in the response body.
List of response properties
array of objects
An array of FCM, HMS, or APNs push configurations.
A unique provider ID of the push configuration. This is automatically generated by Sendbird.
The type of the push configuration.
The unique ID of the app registered to the HMS server.
The HMS secret key of the registered app.
The name of a sound file to be played when a push notification is delivered to client apps.
In the case of an error, an error object is returned. A detailed list of error codes is available here.