View push preferences for a channel
Changed onView push preferences for a channel
You can retrieve a user's notifications preferences for a specific channel. A push notification is a message that is immediately delivered to a user's device when the device is either idle or running the client app in the background. These notifications preferences can be configured.
Note: Push notifications are only available for group channels.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
(Required)
Headers
Response
Successful response
Example response
{
"enable": true,
"push_sound": "push_sound",
"push_trigger_option": null
}Changes
- info
removed the
defaultenum value from theresponse property for the response status
- info
- warning
deleted the
headerrequest parameterApi-Token - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
allenum value to theresponse property for the response status - warning
added the new
defaultenum value to theresponse property for the response status - warning
added the new
mention_onlyenum value to theresponse property for the response status - warning
added the new
offenum value to theresponse property for the response status - info
api operation id
viewPushPreferencesForChannelByUrlremoved and replaced withviewPushPreferencesForAChannel - info
added the new optional
headerrequest parameterapi-token
- warning