Update an FCM push configuration
Updates a specific FCM (Firebase Cloud Messaging) push configuration for client apps. You can also update the configurations on the Sendbird Dashboard under Settings > Chat > Push notifications.
Register a service account key
You can register a service account key for FCM HTTP v1 API on Sendbird Dashboard. For instructions, see this FCM migration guide.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
Parameter name | Type | Description |
---|---|---|
provider_id | string | Specifies the provider ID of the push configuration. |
Request body
The following table lists the properties of an HTTP request that this action supports.
Optional
Property name | Type | Description |
---|---|---|
push_sound | string | 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 |
service_account_key | file | In the form of a |
Response
If successful, this action returns the information about the updated FCM push configuration in the response body.
Property | Type | Description |
---|---|---|
push_configurations | string | A unique provider ID of the updated push configuration. |
In the case of an error, an error object is returned. A detailed list of error codes is available here.