Add an HMS push configuration
POST {{baseUrl}}/v3/applications/push/hms
Add an HMS push configuration
Registers an HMS (Huawei Mobile Services) push configuration for your client app. To send push notifications to Android devices for HMS, you should first register the HMS push configuration. You can also register the configurations in your dashboard under Settings > Application > Notifications.
https://sendbird.com/docs/chat/v3/platform-api/guides/application#2-add-an-hms-push-configuration
Request Body
{"huawei_app_id"=>"<string>", "huawei_app_secret"=>"<string>", "push_sound"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"push_configurations":[{"id":"\u003cstring\u003e","push_type":"\u003cstring\u003e","huawei_app_id":"\u003cstring\u003e","huawei_app_secret":"\u003cstring\u003e","push_sound":"\u003cstring\u003e"},{"id":"\u003cstring\u003e","push_type":"\u003cstring\u003e","huawei_app_id":"\u003cstring\u003e","huawei_app_secret":"\u003cstring\u003e","push_sound":"\u003cstring\u003e"}]}