You can send push notification messages to your user's device when the device is either idle or running the client app in the background. For group channels, notifications can be configured to display an alert, play a sound, or place a badge on the client app's icon.
Note: Starting June 20, 2024 the Legacy Firebase Cloud Messaging (FCM) API will be deprecated. To ensure uninterrupted push notification service, migrate to the new FCM HTTP v1 API as soon as possible. For instructions, refer to this FCM migration guide.
The following table shows a list of actions supported for your application. The API endpoints are relative to the base URL allocated to your Sendbird application. The base URL for the following endpoints are https://api-{application_id}.sendbird.com/v3.
Note: To find the application ID and base URL of your application, sign in to Sendbird Dashboard, go to Settings > Application > General, and then check Application ID and API request URL.
GET/applications/push/{push_type}/{provider_id} Retrieves a specific push configuration of an application. The type of a push configuration is one of fcm, huawei, or apns.
DELETE/applications/push/{push_type}/{provider_id} Cancels the registration of the push configuration of an application. The type of a push configuration is one of fcm, huawei, or apns.
GET/applications/settings/auto_event_message Retrieves a list of auto event messages that are sent in a specified application and indicates which ones are in use.
PUT/applications/settings/auto_event_message Determines whether to automatically send event messages to group channels when events take place in an application.
POST/applications/push/fcm Registers a FCM push configuration. To send push notifications to Android devices, you should first register the FCM push configuration.
POST/applications/push/hms Registers an HMS push configuration. To send push notifications to Android devices for HMS, you should first register the HMS push configuration.
POST/applications/push/apns Registers an APNs push configuration. To send push notifications to iOS devices, you should first register the APNs push configuration.