Add a FCM push configuration

POST {{baseUrl}}/v3/applications/push/fcm

Add a FCM push configuration

Registers a FCM (Firebase Cloud Messaging) push configuration for your client app. To send push notifications to Android devices, you should first register the FCM 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-a-fcm-push-configuration

Request Body

{"api_key"=>"<string>", "push_sound"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Api-Tokenstring(Required)
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;push_configurations&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;push_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;api_key&quot;:&quot;\u003cstring\u003e&quot;,&quot;push_sound&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;push_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;api_key&quot;:&quot;\u003cstring\u003e&quot;,&quot;push_sound&quot;:&quot;\u003cstring\u003e&quot;}]}