Saves the Firebase device token specified in the request for the Documents application.
Name | Description | Type | Example |
FirebaseDeviceToken
sent in body
|
Firebase device token | string | some text |
IsSubscribed
sent in body
|
Specifies if the user is subscribed to the push notification or not | Bool value | true |
POST api/2.0/settings/push/docregisterdevice Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "FirebaseDeviceToken": "some text", "IsSubscribed": true }
FireBase user
{ "status": 0, "response": { "Id": 1234, "UserId": "9924256A-739C-462b-AF15-E652A3B1B6EB", "TenantId": 1234, "FirebaseDeviceToken": "some text", "Application": "some text", "IsSubscribed": true } }